diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/icons.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index 5cca0ce8cc..0413792c53 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "kernel.h" | 22 | #include "kernel.h" |
23 | #include "sprintf.h" | 23 | #include "sprintf.h" |
24 | #include "rtc.h" | 24 | #include "rtc.h" |
25 | #include "powermgmt.h" | ||
25 | 26 | ||
26 | #include "settings.h" | 27 | #include "settings.h" |
27 | 28 | ||
@@ -162,7 +163,8 @@ void statusbar_icon_battery(int percent, bool charging) | |||
162 | if (fill > 100) | 163 | if (fill > 100) |
163 | fill = 100; | 164 | fill = 100; |
164 | 165 | ||
165 | if (global_settings.battery_type) { | 166 | /* show graphical animation when charging instead of numbers */ |
167 | if ((global_settings.battery_type) && (charge_state != 1)) { | ||
166 | 168 | ||
167 | /* Numeric display */ | 169 | /* Numeric display */ |
168 | snprintf(buffer, sizeof(buffer), "%3d", percent); | 170 | snprintf(buffer, sizeof(buffer), "%3d", percent); |