I run 3 btm files running certain routines periodically by looping. These do certain backups, update some data files and switch on / off charger based upon the level of battery state. How can I kill all other instances of TCC from a new btm batch file that just switches on the charger through an IFTTT trigger and hibernates the laptop when the battery charge level has reached 95% ?
I am using a USB connected 4 port power extension. I use it to switch external monitor, repeater modem and laptop battery charger on and off. A BTM file monitors the battery level and maintains it between 25% & 85% by periodically switching the charger on and off. When I am through for the session I run another batch file to switch the charger on forcibly and hibernate the laptop when it reaches 95% level. For this I need to kill the other instance of tcc running the btm maintaining battery level. Added this as the first command in the "hibernate" batch file. Worked like a charm.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.