barrykn / android-cm7-bkndh1

CyanogenMod personal dirty(?) hacks repo. Actually CM10.x as well as CM7, despite the name
1 stars 0 forks source link

Make defy boot automatically when it starts charging, like an iPhone #2

Closed barrykn closed 11 years ago

barrykn commented 11 years ago

When the Defy is turned off (say, from the battery running down to zero) and plugged in, it starts charging without fully booting. I guess that's tolerable [and it could be vitally necessary on a sub-1.0A charger, but my user exclusively uses an iPad charger so that's not an issue].

Once it reaches 100%, it just sits there without turning on. Then we can't call my user. Since I can't magically teleport myself to the phone's location to turn it back on, that's a problem. I need to fix this (or at least hack my way around it) if I can.

Earlier, I wasn't sure I wanted to file an issue over what I thought was a pipe dream. However, I have a couple ideas for actually implementing this now...

barrykn commented 11 years ago

barrykn/android_device_motorola_common@913b4c43a916f76cd3575e11def7606c2b4d0fae makes it auto-boot once the voltage is high enough. (FWIW, the code I finally tested and deployed also includes barrykn/android_device_motorola_common@b6ff6c014c3a235c2f9aca1b8e32974049b81034.) I tested and deployed the modified code (with both patches) about a month ago, and the code has not caused any problems in production use. Therefore, I am closing this issue.