healthd: fix 64-bit build
int64_t needs to be printed with PRId64 Change-Id: If59b60bac71856e4266d459d159a570961e7340a
This commit is contained in:
parent
ecedc9a697
commit
d2b5bfa0cd
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ static void update_screen_state(struct charger *charger, int64_t now)
|
|||
int batt_cap = get_battery_capacity();
|
||||
|
||||
if (batt_cap < SCREEN_ON_BATTERY_THRESH) {
|
||||
LOGV("[%lld] level %d, leave screen off\n", now, batt_cap);
|
||||
LOGV("[%" PRId64 "] level %d, leave screen off\n", now, batt_cap);
|
||||
batt_anim->run = false;
|
||||
charger->next_screen_transition = -1;
|
||||
if (charger->charger_connected)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue