Appium - IOS : Get battery remaining details and memory usuage

Hello Team,

I am running appium scripts on IOS (real device) on Mac machine.
I want to get battery details (battery remaining), and memory usuage.

Is there any way to get this using Java, selenium, appium or any other thing ?
Kindly advice.