Display a full battery when we don't know the status

This commit is contained in:
Pierre Pronchery 2009-09-24 11:19:50 +00:00
parent 4008133707
commit 0a1c5a50ae

View File

@ -216,7 +216,8 @@ static int _timeout_tre(int fd, int sensor, envsys_tre_data_t * tre)
#else
static gboolean _on_timeout(gpointer data)
{
/* nothing to do */
/* XXX should show uncertain state instead of a full battery */
_battery_set(battery, 100.0);
return FALSE;
}
#endif