Fix battery monitor with new interfaces [ci skip]