I searched the app store for ‘windows’ and ‘pc’, and found this app:
get battery level is a command, isn’t it?
get battery level