hasBattery() renamed to isSupported()