Updated battmonitor to latest commit
Added support for charging mode.