fixed battery detection

git-svn-id: http://tint2.googlecode.com/svn/trunk@79 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-05-31 12:40:40 +00:00
parent 6f36b405cc
commit e43bf23b67
5 changed files with 60 additions and 10 deletions

View File

@@ -3,6 +3,7 @@
*
* Battery with functional data (percentage, time to life) and drawing data
* (area, font, ...). Each panel use his own drawing data.
* Need kernel > 2.6.23.
*
**************************************************************************/
@@ -48,7 +49,9 @@ extern PangoFontDescription *bat1_font_desc;
extern PangoFontDescription *bat2_font_desc;
extern int8_t battery_low_status;
extern char* battery_low_cmd;
extern char *battery_low_cmd;
extern char *path_energy_now, *path_energy_full, *path_current_now, *path_status;
// initialize clock : y position, ...
void update_battery(struct batstate *data);