项目作者: miahuoe

项目描述 :
Battery status logger
高级语言: C
项目地址: git://github.com/miahuoe/batstat.git
创建时间: 2018-04-07T09:53:13Z
项目社区:https://github.com/miahuoe/batstat

开源协议:MIT License

下载


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/