mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
BatteryService: revert chragingMode to Disabled if manager installation failed
This commit is contained in:
@@ -144,8 +144,7 @@ Singleton {
|
||||
}
|
||||
|
||||
if (exitCode !== 0) {
|
||||
// TODO, reset do a null or smth
|
||||
BatteryService.chargingMode = BatteryService.ChargingMode.Balanced
|
||||
BatteryService.chargingMode = BatteryService.ChargingMode.Disabled
|
||||
}
|
||||
}
|
||||
stderr: StdioCollector {
|
||||
|
||||
Reference in New Issue
Block a user