View Single Post
Old 05-06-2023, 10:54 AM   #1
doug.harriman
Junior Member
doug.harriman began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kindle Paperwhite 1
Question PW gasgauge-info not updating

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.
doug.harriman is offline   Reply With Quote