Hello! I was using this script on my laptop and it was working normally. After formatting it this afternoon, I reinstalled everything again and got tcmd to work as it was before, but now it is not reading the battery %, it just keeps activating plugOn all the time regardless of how much battery is left.
I don't understand scripts, so I apologize in advance for not being able to provide more information or details. If anyone can help me, I would be grateful.
Just to let you know, I followed all the steps described here. I have tcmd utility in the C:\Windows folder, I downloaded BatteryInfoView.exe, I configured plugOn and plugOff in trigger_cmd and in Alexa and even so only plugOn is activated in a loop with Alexa's routines.
Oh, and I apologize for having revived the topic. I thought it best to leave everything in the same place.