From 923e384e43511d7956547753e2f5aede3c094bd9 Mon Sep 17 00:00:00 2001 From: mrybnik Date: Tue, 19 Apr 2016 01:03:43 +0200 Subject: [PATCH] Correct battery-status "status" event name --- src/plugins/batterystatus.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/batterystatus.ts b/src/plugins/batterystatus.ts index a71f2c052..b8e738cec 100644 --- a/src/plugins/batterystatus.ts +++ b/src/plugins/batterystatus.ts @@ -37,7 +37,7 @@ export class BatteryStatus { */ @Cordova({ eventObservable: true, - event: 'batterylevel' + event: 'batterystatus' }) static onChange () : Observable {return} @@ -73,4 +73,4 @@ export interface StatusObject { * A boolean that indicates whether the device is plugged in */ isPlugged : boolean -} \ No newline at end of file +}