When my kindle is in RTC sleep it cannot be charged. It is charging only when is wakeup.
So please implement feature that kindle is not going to RTC sleep when it is charging and allow sleep only in memory (like in DEBUG)
power status - if it is charging can be determine by this command:
lipc-get-prop com.lab126.powerd status