Review of "Battery Time Remaining, Percentage, Watt Meter in Panel" version 4

Details Page Preview

Shows actual charging/discharging consumption (+/-) in Watts next to battery percentage level and/or battery time remaining. Enable percentage label when disabled. Default sync reload set to 4 seconds. No consumption info when battery is full. Settings: interval, percentage label (also when full), time remaining on/off, battery selection. Fork of https://github.com/wennaspeedy/batt_consumption_wattmetter

Extension Homepage
https://github.com/zachgoldberg/batt_consumption_wattmetter

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

All Versions

Version Status
6 Active
5 Active
4 Rejected
3 Rejected
2 Active
1 Rejected

Previous Reviews on this Version

JustPerfection rejected
1. Also destroy and null out `_systemLabel` and `label` in disable. 2. Rename `_stop()` to `destroy()` (line 258 `extension.js`) and add `super.destroy()` to the end of that function. Now you can simply call `this.indicator.destroy()` in line 344 `extension.js`. 3. Please move line 20-21 to enable and null it out in disable. - [EGO Review Guidelines: Initialization](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#only-use-initialization-for-static-resources) - [EGO Review Guidelines: Destroy](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#destroy-all-objects)