Local macOS battery-history dashboard backed by the private powerlog SQLite database.
./refresh_battery_history.pyThen open index.html in a browser. Use the range control to switch between
12, 24, and 36 hours; the dashboard keeps each chart readable by using
15/30/45-minute battery samples and 30/60/90-minute usage intervals.
The generator reads:
/private/var/db/powerlog/Library/BatteryLife/CurrentPowerlog.PLSQL
and writes data.js for the static page. It shows battery level history, charging intervals, and estimated discharge per 30 minutes.
See POWERLOG_SQLITE_NOTES.md for database exploration notes.
