Safely Powering Down and Rebooting Your Libbi Battery System