Connecting ipad to a mac
I have a macbook pro m2 and an ipad pro 11 inch. Is it safe to charge the ipad's battery directly through the mac? I'm having the mac charging through a power strip , and the ipad connected to the mac. Also, does charging the mac through a power strip damage the battery in any way ?
Thanks!
iPad Pro, iPadOS 17