Sensor does  not work well with Battery's so I bought the AC adapter. Still does not work well. Lid  stays open. Won't close. Not happy at all with this purchase. Wasted Over $100 between the two and does not work.