An operating system to manage batteries would work much like an operating system for your computer or cell phone: it coordinates the communications between the hardware and the apps to make sure the various programs, such as those for taking photos and browsing the Internet in the case of cell phones, are running well and do not interfere with each other.
FORBES: Energy Storage: It's All About The Software