View Single Post
Old 06-30-2026, 04:26 PM   #144
xuegy
Junior Member
xuegy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2026
Device: Paperwhite 3
Quote:
Originally Posted by FalconFour View Post
Excellent win here... by the power of Claude Code ripping through the codebase and applying ideas and transformations, I managed to create a near-entirely-new version of this extension that takes a totally different approach. Instead of relying on complex internal timers and recovery techniques, we just ask the OS framework to do our bidding. Everything is now entirely based on events - device wakes? Update the image. Device is about to enter deep sleep? Set a future RTC wake time based on the scheduler. That's it.

By dramatically simplifying the code paths, I'm now on target for a full week of battery life on a charge, updating every 8 minutes during the day and 30 minutes at night. It hasn't missed a single update.

Check it out: https://github.com/FalconFour/onlinescreensaverPW2

I'll keep the Github repo updated with whatever new fixes I find it needs.
I have two Kindles working as HomeAssistant displays, but having totally different working conditions.

One Kindle PW3 serves as a Todoist display. It updates every 15 minutes during the day. The battery life is about 2 weeks. Your version is significantly better in this situation.

Another Kindle 7 serves as a public transit info display. It updates every minute during the day and I connect it to a smart power plug which controls the battery level between 20%-80%. Your version no longer allows me to control Wi-Fi, which should be constantly on in this case.

Ideally there should be a threshold time that keeps the Wi-Fi on instead of going into airplane mode.
xuegy is offline   Reply With Quote