We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da46248 commit 2a2d162Copy full SHA for 2a2d162
components/retro-go/rg_system.c
@@ -258,7 +258,7 @@ static void system_monitor_task(void *arg)
258
update_statistics();
259
260
rg_battery_t battery = rg_input_read_battery();
261
- rg_system_set_indicator(RG_INDICATOR_POWER_LOW, true);
+ rg_system_set_indicator(RG_INDICATOR_POWER_LOW, (battery.present && battery.level <= 2.f));
262
update_indicators(false);
263
264
// Try to avoid complex conversions that could allocate, prefer rounding/ceiling if necessary.
0 commit comments