summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/icons.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index 5cca0ce..0413792 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -22,6 +22,7 @@
#include "kernel.h"
#include "sprintf.h"
#include "rtc.h"
+#include "powermgmt.h"
#include "settings.h"
@@ -162,7 +163,8 @@ void statusbar_icon_battery(int percent, bool charging)
if (fill > 100)
fill = 100;
- if (global_settings.battery_type) {
+ /* show graphical animation when charging instead of numbers */
+ if ((global_settings.battery_type) && (charge_state != 1)) {
/* Numeric display */
snprintf(buffer, sizeof(buffer), "%3d", percent);