Thread
:
Desktop Command Execution Widget scripts
View Single Post
misterc
2012-05-30 , 23:20
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#
403
create two shell scripts which
display the core (CPU) temperature (bqtemp)
the power flow in mA (positive if charging, negative if on battery)
inspired from
2.2 Battery (via bq27200 chip)
and bq27000.sh
as root place the two files in /usr/bin, remove the .txt extension (e.g. mv bqpwr.txt bqpwr) (optional) and make them executable
require i2cget and bq27000.sh in /usr/sbin
enjoy
Attached Files
bqpwr.txt
(177 Bytes, 120 views)
bqtemp.txt
(186 Bytes, 112 views)
__________________
information is a necessary though no sufficient condition to rationality...
Quote & Reply
|
misterc
View Public Profile
Send a private message to misterc
Find all posts by misterc