HASS.agent

Hi Guy’s, I’m using HASS.agent to send battery level of my surface pro 9 tablet running win 11 pro, as Home Assistant haven’t a Mobile app for windows, which is so annoying. Anyway, as you guys on here are more knowledgeable than windows community, I thought I would ask if anyone knew why apps on my surface pro stop running when the smart plug turns on for power to charge the tablet, I’ve turned off sleep etc. I’m disabled and bending etc is very painful for me, so any ideas much appreciated.