when performing using my laptop, always run the laptop connected to the mains. I am however dreading to not notice in time that the power for the laptop is not connected.
so my question is is there a way to detect if a laptop is runnning on battery or is connected to mains? I have been looking a bit in the system, windows and device categories but have not found a way to see if I am running on mains or not.
is there such a node?
I mean it would be pretty useful to change the color of the patch background to red in case of running on battery and green if plugged into mains.