board: Fix offline charging

Taking care of this:
http://review.cyanogenmod.org/#/c/51474/