Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4428

PW PW gasgauge-info not updating

$
0
0
I have a PW1 that I've got running a simple loop to:

- Read battery charge & temperaturature with gasgauge-info (-s and -k)
- Post that info to a server
- Download an image from the server (weather, calendare and battery info)
- Display image
- Go to sleep for 15 min.

Wake time scheduled with rtcwake, then it goes to sleep:

rtcwake -d /dev/rtc1 -m no -s 90
echo "mem" /sys/power/state

The odd thing is that the gasgauge-info data does not usually update. Every once and a while it does, but it's totally inconsistent in the loop described above.

Whenever I ssh into the Kindle, gasgauge-info works perfectly.

Looking for guidance on how to get reliable gasgauge-info data in the looping situation.

Viewing all articles
Browse latest Browse all 4428

Trending Articles