Hardware buttons handling in android while deep sleep
So my main problem : Cant start mp3 playback if the phone goes sleep for a
few min. When the phone goes sleep for a few min there is 90% chance none
of the hardware button works but the power button. Cant understand why is
the power button working always and the others only 10%. When i clicking
mad for 5sec it usually registers. Buttons working well if the phone is
awake. blade_keypad.kl key 158 BACK WAKE_DROPPED key 139 MENU WAKE_DROPPED
key 102 HOME WAKE
key 115 VOLUME_UP WAKE key 114 VOLUME_DOWN WAKE key 116 POWER WAKE key 142
POWER WAKE
key 226 HEADSETHOOK WAKE
Not sure if it is a kernel or android issue. Using a ZTE Blade
cm-10.1-20130724-KonstaKANG-blade . How can i test pressed button while in
deep sleep? Was thinking maybe u can enable debugging options so it adds
keypress to locgat. But how? So if that works then its an android bug.
Witch program broadcast the key-press events to the others? I have to take
a look at that. Probably buttons do not wake up the phone but why does
power button wake it up? Why is that different?
No comments:
Post a Comment