Post Reply

[Q] Edit Android Kernel to speed up charging cable unplug response time

OP fire_dude6

10th July 2014, 05:09 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2014
I can't ask this in the Original Development section, so I'm asking it here in the Q&A part, but if it's in the wrong place, feel free to move it.

I'm developing for the GT-N8010 and currently trying to modify the kernel to increase the time between a USB charging cable being unplugged and the system being notified/turning the screen on. Currently it takes about 2 second for the OS to determine the cable has been unplugged and pass this message to applications to use. I've checked in /sys/class/power_supply and found that it recognizes the USB cable being unplugged almost as soon as it is unplugged, so I'm wondering how I can a) speed up the detection by the OS or b) add the ability for a direct message to be sent to applications.

Thanks!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Galaxy Note 10.1 Q&A, Help & Troubleshooting by ThreadRank