Use the actual charging status instead of the plugged status to determine if...
Use the actual charging status instead of the plugged status to determine if the battery is charging. While usually when a device is plugged in (usb for example) it's actually charging, there are cases when this isn't true. For example, since recently the zte blade has an option to disable usb charging even if plugged in. The function works correctly but the battery icon will show the battery charging even if it's effectively not charging or even discharging. This patch uses the Status information instead of the Plugged information from the received message to show the real status of the battery. Change-Id: Ib68401040294681824ea0c3fe68391b6a8375a65
Loading
Please register or sign in to comment