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>
Tue, 14 Jun 2011 16:08:45 +0000 (09:08 -0700)
commit0786d67124ab07c5f8d673e3d48766420a3f5630
treeec6bf809b3f542700b855f6216221b465f1522d8
parent2a1f352ace48145fa07a7d5086ad23c3f9e5947e
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