If you mainly need to see where your feet land at night, a slim bar near the side of the bed can put a soft glow on the floor. For motion-activated under-bed lighting, look for a bar with a low-light motion mode and check how the mount fits your bed frame. Try the light on the side you get out of and start with a low brightness setting, if available.
Test it with the room lights off. Sit on the bed, swing your feet down, and check whether the light comes on as you need it. Then lie back down and check whether the bright face of the light is visible from your pillow. A bed skirt or storage bin can block the sensor or the light. Try another spot if you need to, and leave room to take the bar down for charging.