Support a not connected battery.
Kinda hacky but it works for now.