var BATTERY_UUID                    = '180f';
var BATTERY_LEVEL_UUID              = '2a19';

function BatteryService() {
}

BatteryService.prototype.readBatteryLevel = function(callback) {
  this.readUInt8Characteristic(BATTERY_UUID, BATTERY_LEVEL_UUID, callback);
};

module.exports = BatteryService;

@@ -262,16 +262,591 @@
 k);%0A%7D;%0A%0A
+BatteryService.prototype.onBatteryLevelChange = function (data) %7B%0A  this.emit('batteryLevelChange', data.readUInt8(0));%0A%7D;%0A%0ABatteryService.prototype.notifyBatteryLevel = function (callback) %7B%0A  this.onBatteryLevelChangeBinded       = this.onBatteryLevelChange.bind(this);%0A  this.notifyCharacteristic(BATTERY_UUID, BATTERY_LEVEL_UUID, true, this.onBatteryLevelChangeBinded, callback);%0A%7D;%0A%0ABatteryService.prototype.unnotifyBatteryLevel = function (callback) %7B%0A  this.notifyCharacteristic(BATTERY_UUID, BATTERY_LEVEL_UUID, false, this.onBatteryLevelChangeBinded, callback);%0A%7D;%0A%0A
 module.e

Add battery level notification