mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: parts: Fix derps
FileIO.cpp: Drop unused header SmartChargingImpl.cpp: delay 5s -> 5m
This commit is contained in:
parent
8802311f9b
commit
d8ad12b45e
2 changed files with 1 additions and 2 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
#include <log/log.h>
|
#include <log/log.h>
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <memory>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace FileIO {
|
namespace FileIO {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ static void battery_monitor(const int limit_percent, const int restart_percent,
|
||||||
enableSysfs(BATTERY_CHARGE);
|
enableSysfs(BATTERY_CHARGE);
|
||||||
*restart_cnt += 1;
|
*restart_cnt += 1;
|
||||||
}
|
}
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(5));
|
std::this_thread::sleep_for(std::chrono::minutes(5));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue