Better detection of battery absence