How to power a Aeon multisensor or a Fibaro smoke detector

I would like to mount my two new toys on the ceiling, and there is a mains power (240 V AC) ceiling light nearby.

The Aeon multisensor takes a mini USB power cable.

What would be the best way to power it? I was thinking to split the light power cable and put in a normal plug socket in the ceiling void, and then plug a standard USB phone charger into that. All in the ceiling void. But that seems a very clunky solution.

Surely there is a better way?

At lowe’s I saw a replacement 110 socket that also had a USB port. That would eliminate the wall-wart.