Skip to content

LinZihong/MacBatteryHistory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

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

No releases published

Packages

 
 
 

Contributors