From 6875163111f5ab2d01ea89f907681307749ae282 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Sat, 5 Jan 2019 10:20:25 -0500 Subject: [PATCH] Fixed warnings --- src/app/battery/battery.service.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/battery/battery.service.ts b/src/app/battery/battery.service.ts index 1c8a0a8..7dfac1d 100644 --- a/src/app/battery/battery.service.ts +++ b/src/app/battery/battery.service.ts @@ -21,10 +21,10 @@ export class BatteryService { return 'battery_full'; - let temp = 'battery'; - // if (this.batteries.length) temp += '_charging'; + /*let temp = 'battery'; + if (this.batteries.length) temp += '_charging'; - /*if (this.average <= 20) { + if (this.average <= 20) { temp += '_20'; } else if (this.average <= 30) { temp += '_30'; @@ -38,9 +38,9 @@ export class BatteryService { temp += '_90'; } else if (this.average > 90) { temp += 'full' - }*/ + } - return temp; + return temp;*/ } constructor() {