rk27generic: fix charging_state()
Change-Id: Iefa7fa4f9b2e535e2ab9004ffe8eeb8adf203f4b
This commit is contained in:
parent
b43171dcdf
commit
5a89549c86
1 changed files with 1 additions and 1 deletions
|
@ -45,5 +45,5 @@ unsigned int power_input_status(void)
|
|||
|
||||
bool charging_state(void)
|
||||
{
|
||||
return true;
|
||||
return (usb_detect() == USB_INSERTED);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue