For battery information, you can try BatteryPlugin: https://github.com/jamesmontemagno/BatteryPlugin.
But for the cpu usage information. Why do you want to get that? We don't recommend you to get the whole device's cpu information considering the security policy.
We need to monitor client side metrics in real time, i.e while accessing the application how much battery and CPU it will utilize and what the is the n/w bandwidth speed.
Answers
For battery information, you can try BatteryPlugin: https://github.com/jamesmontemagno/BatteryPlugin.
But for the cpu usage information. Why do you want to get that? We don't recommend you to get the whole device's cpu information considering the security policy.
Hi LandLu,
We need to monitor client side metrics in real time, i.e while accessing the application how much battery and CPU it will utilize and what the is the n/w bandwidth speed.
Regards,
Ajit