Make sure charging is disabled on exit
This commit is contained in:
parent
da92cb4c7a
commit
fecaad492a
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
int retval = app->exec();
|
||||
|
||||
updater->stop();
|
||||
battery->blockSignals(true);
|
||||
battery->setChargingEnabled(true);
|
||||
|
||||
delete updater;
|
||||
delete battery;
|
||||
delete settings;
|
||||
|
|
Loading…
Reference in a new issue