Offline project checks / check (push) Canceled after 0s
- Add should_shutdown() check in BatteryPolicy and trigger_shutdown() in phone-battery-guard.py. - Auto sync filesystems and invoke safe poweroff if SoC drops to 5% while on battery/discharging. - Do not power off if external charger is actively connected and charging. - Update openrc service command args with --shutdown-at 5. - Add unit tests for emergency shutdown, discharging detection, and threshold validation.