项目作者: miahuoe
项目描述 :
Battery status logger
高级语言: C
项目地址: git://github.com/miahuoe/batstat.git
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
- 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/