
Announcements
Is it possible to automate the task of changing the power settings on my laptop.
The idea is when I disconnect my charger then the laptop should be set to Balanced Mode and while connecting it should switch to the High Performance mode.
Hi @pdeepak4556
To know state of charging use powershell script to know state of charging
powershell script
Get-WmiObject -Class Win32_Battery | Select-Object -Property BatteryStatus
based on output value, you can decide the state of charge and enable balance mode and high performance mode.
for enabling balanced or high performance, you can try with power shell script or ui automation 🙂
Let me know if you have any doubts