diff --git a/universal7885-common/apps/aidl-support/parts/default/SmartChargingImpl.cpp b/universal7885-common/apps/aidl-support/parts/default/SmartChargingImpl.cpp index c8c5a0b..3b9af85 100644 --- a/universal7885-common/apps/aidl-support/parts/default/SmartChargingImpl.cpp +++ b/universal7885-common/apps/aidl-support/parts/default/SmartChargingImpl.cpp @@ -33,7 +33,6 @@ void SmartChargeImpl::start(void) { shouldRun = true; monitor = new std::thread(battery_monitor, limit_percent, restart_percent, &charge_limit_cnt, &restart_cnt); - monitor->detach(); } void SmartChargeImpl::stop(void) {