Files
ansible-playbooks/roles/nut/templates
Clément Désiles 501f4e1f87 feat(nut): report outage duration and battery % in ntfy
ONBATT records the epoch start time and appends current battery
charge; ONLINE appends battery charge and the total outage duration
(HH:mm:ss) computed from the recorded start, then clears the state.
State lives in /run so it self-clears on reboot.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 23:50:48 +02:00
..