It works by charging with the USB connection included in the package. You can charge it in a short time. It gives the opportunity to use for a long time. Thanks to the smart motion sensor, it detects the human body and the lamp turns on. It is a very functional and useful product. The lamp is very easy to install. It can be easily removed and installed thanks to the magnetic field on the back, without the need for any screw fixing. Its usage area is very wide. You can use it in your hallway - in the bedroom - in the children's room - under the kitchen cabinets, on the counter.