diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c index 3a851df0ff..e9f0dc9330 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -852,7 +852,10 @@ void settings_apply(bool read_disk) #endif set_poweroff_timeout(global_settings.poweroff); +#if defined(BATTERY_CAPACITY_INC) && BATTERY_CAPACITY_INC > 0 set_battery_capacity(global_settings.battery_capacity); +#endif + #if BATTERY_TYPES_COUNT > 1 set_battery_type(global_settings.battery_type); #endif |