I'm building a VB.NET 2010 app that tracks battery usage. Run the app, start logging, then let the battery go flat. At the end, you get a nice graph that shows you how long the battery took to run down. Compare it to previous results and you can see how battery life is doing.
But this is...
I've been able to easily get info on the battery/power information. But I haven't found any info (or if it's even possible) on how to tell the laptop to stop charging a battery and then start charging again.