In most cases this should be acceptable
Answered by Rupert, Electrical Safety Expert
In most cases this should be acceptable. Plugging USB devices into “smart” products such as laptops and tablets which monitor and control the output should, in theory, be safer than the use of wall sockets. However, as always, check the manufacturer’s instructions.