Jump to content

Power Monitoring: Difference between revisions

From postmarketOS Wiki
Niklas (talk | contribs)
Create Power Monitoring page, listing two tools
 
m rollbackEdits.php mass rollback
Tag: Rollback
 
(2 intermediate revisions by 2 users not shown)
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

Latest revision as of 14:31, 23 April 2023

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