Fix when using A/C

Awesome was returning an error when no battery plugged.