Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BatteryHistory

Demo

Local macOS battery-history dashboard backed by the private powerlog SQLite database.

./refresh_battery_history.py

Then 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.

About

Simple elegant front-end for a more detailed battery use history

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages