How to control battery and charging
Read status of USB power and DC-In power
read status of usb power
Read status of dumb battery (e.g. BL-6C)
Read status of BQ27000 based battery
Note: On mainline (status <= 4.21), omap_hdq does not work properly if power state of the soc is too low.