Display a full battery when we don't know the status
This commit is contained in:
parent
4008133707
commit
0a1c5a50ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user