Hi, I want to achieve 2 things using Power Automate, if possible:
1) Create an alarm or, if possible, stop charging the battery once it reaches a threshold of say, 70% (and be able to notify or start charging after you hit 30%).
2) Create a button to make the laptop go to sleep, instead of just locking up the screen using Windows + L button.
Thanks.
Hi @LEOMODE :
Q1:Create an alarm or, if possible, stop charging the battery once it reaches a threshold of say, 70% (and be able to notify or start charging after you hit 30%).
Hi, I am afraid that flow can not meet these requirements. But ,some brands of laptop computers may provide power management settings, I suggest you can search the Internet or seek the services of the laptop manufacturer.
Q2:Create a button to make the laptop go to sleep, instead of just locking up the screen using Windows + L button.
Please try:
C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState Hibemate
Best Regards,
Bof
stampcoin
87
Michael E. Gernaey
70
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1