4 ms·
I needed something like this when I was in India for 5 months! Except there was no generator, so I'd just sleep my laptop when it ran out of battery. At least I
by peterburkimsher 7y ago
I needed something like this when I was in India for 5 months! Except there was no generator, so I'd just sleep my laptop when it ran out of battery. At least I didn't try using a desktop.
I was interested in monitoring it at the time, so I wrote SMC voltmeter, an app to measure the input voltage. If you're interested in auto-detecting the power source to your laptop, my open-source code might be useful, so please give it a look!
https://hackaday.com/2015/04/21/reading-analog-values-with-a-magsafe-port/ https://hackaday.com/2015/04/21/reading-analog-values-with-a...