Viewer

​The material contained on this page is informative only. Authoritative compliance information is contained in the applicable Bluetooth specification.

org.bluetooth.service.battery_service
Last Modified: 2011-12-12

Name: Battery Service

Type: org.bluetooth.service.battery_serviceDownload / View

Assigned Number: 0x180F


Abstract:

The Battery Service exposes the state of a battery within a device.

Summary:

The Battery Service exposes the Battery State and Battery Level of a single battery or set of batteries in a device.

Service Dependencies

This service has no dependencies on other GATT-based services.

GATT Requirements

Sub-Procedure Server Requirement
Read Characteristic Descriptors Mandatory
Notifications C1: Mandatory if the Battery Level characteristic properties supports notification, otherwise excluded.
Write Characteristic Descriptors C1: Mandatory if the Battery Level characteristic properties supports notification, otherwise excluded.

Transport Dependencies

Transport Supported
Classic true
Low Energy true
High Speed

Error Codes

This service does not define any application error codes that are used in Attribute Protocol.

Service Characteristics

Overview Properties Security Descriptors
Name:
Battery Level
Description:
The Battery Level characteristic is read using the GATT Read Characteristic Value sub-procedure and returns the current battery level as a percentage from 0% to 100%; 0% represents a battery that is fully discharged, 100% represents a battery that is fully charged.
Type:
org.bluetooth.characteristic.battery_level
Requirement:
Mandatory
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Optional
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties
None
Overview Permissions
Name:
Characteristic Presentation Format
Type:
org.bluetooth.descriptor.gatt.characteristic_presentation_format
Requirement:
if_multiple_service_instances
Permission Requirement
Read Mandatory
Write Excluded
Name:
Client Characteristic Configuration
Type:
org.bluetooth.descriptor.gatt.client_characteristic_configuration
Requirement:
if_notify_or_indicate_supported
Permission Requirement
Read Mandatory
Write Mandatory