Skip to main content
Question

Is there a way to use the API for things like power consumption of clients?

  • October 15, 2013
  • 1 reply
  • 4 views

Forum|alt.badge.img+7

For Mobile Devices, using the api call /mobiledevices/id/{idvalue} you will get the current battery level of the device: <battery_level>100</battery_level>

And on Mac:
/computers/id/{computerid} <battery_capacity>97</battery_capacity> within the <hardware> section.

1 reply

Forum|alt.badge.img+4
  • Contributor
  • October 22, 2013

Thanks for the response. To be clear we are looking for ways to get consumption of all our machines on campus. With those enrolled in Casper we were hoping to utilize the JSS to gather this info. you have provided the API calls. Thanks! Is there any way you would suggest doing this en masse?