Fix battery dies issue.

Will likely need testing. But epower_to_power can produce an output 1 on
an input of 0. Which will cause battery dies to fire on it.
Merge pull request #6216 from Chase-san/battery-dies

Fix battery dies issue.