fixed issue 84 with battery
git-svn-id: http://tint2.googlecode.com/svn/trunk@75 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -468,7 +468,8 @@ void event_timer()
|
||||
if (abs(stv.tv_sec - time_clock.tv_sec) < time_precision) return;
|
||||
|
||||
// update battery
|
||||
update_battery(&battery_state);
|
||||
if (panel1[0].battery.area.on_screen)
|
||||
update_battery(&battery_state);
|
||||
|
||||
// update clock
|
||||
time_clock.tv_sec = stv.tv_sec;
|
||||
|
||||
Reference in New Issue
Block a user