mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Added check for battery power
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
overlays.Cut()
|
||||
|
||||
if(!cpu || !cpu.enabled)
|
||||
if (!(stat & NOPOWER))
|
||||
if (!(stat & NOPOWER) || battery_powered)
|
||||
overlays.Add(screen_icon_screensaver)
|
||||
return
|
||||
if(cpu.active_program)
|
||||
|
||||
Reference in New Issue
Block a user