Fix battery slot bug introduced in 48e8b29.