1. Home
  2. Connect API
  3. GET battery.json (authenticated)

GET battery.json (authenticated)

Function to request the status of the battery on the device.

Request

GET: https://ip-10-0-1-196.devices.kineticsmart.com:44443/api/v1/battery.json

Response

If there is a battery on the target device, a response similar to this will be returned:

{"success":true,"charging":false,"percentage":100}

If there is no battery on the target device, you can expect the following response:

{"success":false}

Updated on 31st August 2017

Was this article helpful?

Related Articles

Leave a Comment