Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2021, 08:48 AM   #1
Eicca
Junior Member
Eicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enough
 
Posts: 6
Karma: 538
Join Date: Dec 2020
Device: KV, PW4
charging issue at long-term usage

Hello,
there is a problem occured during working on my alarm clock project (see other thread).
To my Voyage I have connected an USB-Speaker and a power connector with a y-otg-cable.

There are three files in filesystem (/sys/devices/system/...) to define the USB/charging-mode:
allow_charging
charging
mode

It is no problem to get the speaker and charging simultaneous to work.
mode 10 is otg-host: usb-port is powered by the kindle, speaker works without external power connector
mode 5 is otg-gadget: kindle can be charged. (allow_charging and charging have to be set to 1)

To protect the battery I keep the battery at 50%. If it is lower, I set to 1/1/5 (allow_charging/charging/mode). If it is at 50%, I set allow_charging to 0.

Now the problem: after some time the system do not observe the to these files written values anymore. So after half a day (or two or three days..) running the clock-script, charging stops and battery drains to zero.
I have checked, whether the files are set to the correct values and tried to "reset" the charging mode by setting to 0/0/10 and then 1/1/5 again, but nothing helped.

Do anyone have an idea how to solve this problem? My unwanted workaround would be rebooting the kindle with the script of my clock in autostart (not tested yet)..
Eicca is offline   Reply With Quote
Old 02-13-2021, 03:43 PM   #2
Eicca
Junior Member
Eicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enough
 
Posts: 6
Karma: 538
Join Date: Dec 2020
Device: KV, PW4
Hey,
I changed the fix threshold at 50% to an hysteresis (set to loading, when battery level is 50%, stop loading when it is 55%). I cannot explain why, but it works. No unexpected battery level since two weeks continuous operation of the script.
Eicca is offline   Reply With Quote
Advert
Old 02-19-2021, 01:33 PM   #3
Eicca
Junior Member
Eicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enoughEicca will become famous soon enough
 
Posts: 6
Karma: 538
Join Date: Dec 2020
Device: KV, PW4
Why it is not possible to edit a post of myself?

At the 17th day the strange behaviour occured again. I disabled the "battery save" code now, hoping with the built in charging logic allows problem free long-term usage. So the battery will be charged permanently to/ hold at 100%. But stable operation is a more desirable quality than lifetime of the battery in case of a alarm clock.
Eicca is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Turning off charging for long term USB power j.p.s Kindle Developer's Corner 8 03-04-2018 08:31 AM
Kindle DX long-term storage: how to? milivella Amazon Kindle 7 12-03-2015 04:02 PM
Which format is best for long-term storage? klmmc13 General Discussions 145 08-20-2014 03:41 AM
Lowest long term costs jbcohen Which one should I buy? 5 08-01-2013 10:36 AM
What to do with your old Kindle, long term? carld Amazon Kindle 4 09-05-2010 07:34 PM


All times are GMT -4. The time now is 03:20 AM.


MobileRead.com is a privately owned, operated and funded community.