Uninterruptible power supply energy storage battery life