Datasheet

Codebase Revision: 0.7.0
Parameters: Whether the battery service should be enabled, via on of the following values:
on
off
1
0
Output: If executed with no parameters, a numeric value will be returned indicating whether the battery service is
enabled (1) or disabled (0).
# Enable the Battery Service
AT+BLEBATTEN=1
OK
AT+BLEBATTVAL
Sets the current battery level in percentage (0..100) for the Battery Service (if enabled).
Codebase Revision: 0.7.0
Parameters: The percentage for the battery in the range of 0..100.
Output: If executed with no parameters, the current battery level stored in the characteristic.
# Set the battery level to 72%
AT+BLEBATTVAL=72
OK
This command requires a system reset to take effect.
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le Page 126 of 211