power_supply: Hold a wake_lock while power supply change notifications are pending
authorArve Hjønnevåg <arve@android.com>
Tue, 22 Sep 2009 00:26:47 +0000 (17:26 -0700)
committerArve Hjønnevåg <arve@android.com>
Thu, 4 Feb 2010 05:27:13 +0000 (21:27 -0800)
commitcd1ffe8d5d97279f21dfc7098985a550fc0f428b
tree46c5e58396045793ee579fa9c85b11456cec3196
parentf8d61c26afb6b6a47f1a774e3f25ca7ea49b0053
power_supply: Hold a wake_lock while power supply change notifications are pending

When connecting usb or the charger the device would often go back to sleep
before the charge led and screen turned on.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/power/power_supply_core.c
include/linux/power_supply.h