am e1f0bd83: am fd8e6504: charger: Do not suspend when disconnecting from charger
* commit 'e1f0bd83244e1ac96c6b023cfe12286cda8571c1': charger: Do not suspend when disconnecting from charger
This commit is contained in:
commit
deb8e39ede
|
@ -704,7 +704,8 @@ static void update_screen_state(struct charger *charger, int64_t now)
|
|||
charger->next_screen_transition = -1;
|
||||
gr_fb_blank(true);
|
||||
LOGV("[%lld] animation done\n", now);
|
||||
request_suspend(true);
|
||||
if (charger->num_supplies_online > 0)
|
||||
request_suspend(true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue