||2 years ago|
|.gitignore||2 years ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|bmon.c||2 years ago|
|makefile||2 years ago|
|plot||2 years ago|
bmon - simple battery monitor
Bmon is a simple tool that reads battery/power draw data and outputs it, together with a timestamp, to stdout or into a file as tab separated values.
Requirements & building
The requirements are:
to compile the tool simply run
makethe executable will be in the current directory ready to use.
bmon outputs tab separated data, the first element will be either the battery
capacity or the current power draw in milliwatts, this behaviour is controlled
-w argument. The second element is the time in seconds, this can be
time relative to the start of the program or the system time in unix time stamp,
this behaviour is controlled by the
The sample rate (time between readings) can be controlled with the
argument, this time is in seconds.
The output can be directed to stdout or to a specific file, this is controlled with the
-f <file> argument.
For further help refer to the man page.