sec-battery: Standardize the output of the "online" property

@rmcc
Return "0" when no power supply is present