View Single Post
Old 01-19-2011, 09:56 AM   #10
statethatiamin
Avid Reader
statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.statethatiamin is not intimidated by interfenestral monkeys.
 
statethatiamin's Avatar
 
Posts: 27
Karma: 26644
Join Date: Jan 2011
Location: Bronx, NY
Device: Kindle 3
update!!

I found the command that the Kindle runs to check battery power as a percentage

"gasgauge-info -s"

try running this! its so cool!

I'm going to start writing a script to do the first option I was talking about, just as a proof of concept. I think I'll have it update every two minutes

UPDATE:
here's a proof of concept

============
#!/bin/sh

while [ 1 -eq 1 ]; do
retstring="System Information:\n\n"
retstring="$retstring \tBattery: `gasgauge-info -s`"
echo -e $retstring > /mnt/us/documents/SYSINFO
sleep 120
done
============

$ chmod a+x sysinfo.sh
$ ./sysinfo.sh &

Last edited by statethatiamin; 01-19-2011 at 10:18 AM.
statethatiamin is offline   Reply With Quote