Review of "Power Tracker" version 2

Details Page Preview

Tracks current power consumption - Does not use any dependency - Autodetects battery (BAT0, BAT1, BATT: /sys/class/power_supply) - You can configure refresh rate IMPORTANT. - This will only work with laptops. Afaik there's no simple way to track desktop power consumption - Power when fully charged is 0W - Power when charging has a plus sign - Power when discharging has a minus sign If you have any issue, please report it so I can take a look at it! Enjoy!

Extension Homepage
https://github.com/Pijuli/GnomePowerTracker

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
10 Active
9 Inactive
8 Rejected
7 Inactive
6 Inactive
5 Inactive
4 Inactive
3 Rejected
2 Rejected
1 Rejected

Previous Reviews on this Version

JustPerfection rejected
The timeout should be remove not only null out. Anyway, you could use the timeout inside the `PowerTracker` class. and then add this function to the `PowerTracker` class: ```js destroy() { if (this._timeout) { GLib.Source.remove(this._timeout); this._timeout = null; } super.destroy(); } ```
pijuli posted a review
Thank you. As you can see I'm so newbie in GExtensions :) Sending corrected code now
pijuli posted a review
Thank you. As you can see I'm so newbie in GExtensions :) Sending corrected code now