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)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:49:09 +0000 (17:49 -0700)
commit2faaa219a387c20e99ac4c489b8533df1c23ecbe
treed0b733916f9cd0a1275a990d596e834c21920800
parentebdbe7c03e5f5634880c824f42dcded1337af762
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.

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