am 342a2264
: healthd: charger: fix check for charger connected to enter suspend
* commit '342a2264b96ab05dc8fdbfa8bbe354ce2f4b06ca': healthd: charger: fix check for charger connected to enter suspend
This commit is contained in:
commit
b2a2acfaa6
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ static void update_screen_state(struct charger *charger, int64_t now)
|
|||
charger->next_screen_transition = -1;
|
||||
gr_fb_blank(true);
|
||||
LOGV("[%" PRId64 "] animation done\n", now);
|
||||
if (!charger->charger_connected)
|
||||
if (charger->charger_connected)
|
||||
request_suspend(true);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue