Friday, August 31, 2018

Workaround for malfunctioning battery level detection

No action / do nothing when battery reaches ctricital level as a workaround for malfunctioning battery level detection

Windows:
powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0
powercfg -setacvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0

or,
POWERCFG /SETDCVALUEINDEX SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0
POWERCFG /SETACVALUEINDEX SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0

source:
https://superuser.com/a/1175864/500845


Linux:
https://askubuntu.com/questions/378440/how-to-avoid-shutdown-on-critical-battery
https://forums.linuxmint.com/viewtopic.php?t=201336
https://askubuntu.com/questions/210623/modify-actions-when-battery-is-critically-low

No comments: