Jump to content

Power Monitoring: Difference between revisions

From postmarketOS Wiki
Niklas (talk | contribs)
Create Power Monitoring page, listing two tools
 
m Powerstat: Updated powerstat git link.
Line 28: Line 28:
'''Install:'''
'''Install:'''
No package yet. Download tarball from [https://kernel.ubuntu.com/~cking/tarballs/powerstat/ here] or:
No package yet. Download tarball from [https://kernel.ubuntu.com/~cking/tarballs/powerstat/ here] or:
   git clone git://kernel.ubuntu.com/cking/powerstat.git
   git clone https://github.com/ColinIanKing/powerstat.git
   cd powerstat
   cd powerstat
   make
   make

Revision as of 18:28, 18 April 2022

Powersupply (GTK3 tool)

Screenshot of "powersupply"

A Gtk3 based application displaying the current battery status, charging power, and other related information:

Install:

 apk add powersupply

Run:

 powersupply

Links


Powerstat

Screenshot of a terminal session running "powerstat"

A shell tool which gathers power consumption along with other statistics such as system load, number of context switches etc.

Only works while running on battery power.

Can also monitor GPU power consumption, but that is not of much use for phones, since it only supports Intel GPUs (at the time of this writing).

Install: No package yet. Download tarball from here or:

 git clone https://github.com/ColinIanKing/powerstat.git
 cd powerstat
 make
 make install

Run:

 powerstat

See

 man powerstat

for more options.

Links

Homepage