Skip to content

miahuoe/batstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batstat

Battery status logger and monitor. Logs information about capacity, health, charge, voltage, temperature... Uses a sqlite3 database.

Requirements

  • mounted /sys
  • sqlite3 (for compilation)

Features

  • Detect batteries in /sys/class/power_supply
  • Log to sqlite3 database
  • Run as daemon
  • Save daemon's pid to file
  • Redirect error messages to file

Planned features

  • Dump db to other formats
    • json
    • text file
  • man page
  • packaging for some popular distros
  • R scripts for analysis (and to draw nice plots)

License

  • batstat is licensed under the MIT License.
  • Sqlite (that is used by batstat) is a Public Domain. You can learn more about Sqlite here: https://sqlite.org/

Releases

No releases published

Packages

No packages published