Fixed warnings
This commit is contained in:
parent
5a57843d27
commit
6875163111
@ -21,10 +21,10 @@ export class BatteryService {
|
|||||||
|
|
||||||
return 'battery_full';
|
return 'battery_full';
|
||||||
|
|
||||||
let temp = 'battery';
|
/*let temp = 'battery';
|
||||||
// if (this.batteries.length) temp += '_charging';
|
if (this.batteries.length) temp += '_charging';
|
||||||
|
|
||||||
/*if (this.average <= 20) {
|
if (this.average <= 20) {
|
||||||
temp += '_20';
|
temp += '_20';
|
||||||
} else if (this.average <= 30) {
|
} else if (this.average <= 30) {
|
||||||
temp += '_30';
|
temp += '_30';
|
||||||
@ -38,9 +38,9 @@ export class BatteryService {
|
|||||||
temp += '_90';
|
temp += '_90';
|
||||||
} else if (this.average > 90) {
|
} else if (this.average > 90) {
|
||||||
temp += 'full'
|
temp += 'full'
|
||||||
}*/
|
}
|
||||||
|
|
||||||
return temp;
|
return temp;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
Loading…
Reference in New Issue
Block a user