altoslib: Protect has_monitor_battery from unset product