Software Defined Batteries [pdf]
research.microsoft.com