Review of "Battery Threshold" version 1

Details Page Preview

Control laptop battery charge thresholds to prolong battery life. Supports standard sysfs, Xiaomi (acpi_call), ThinkPad, and more.

Extension Homepage
https://github.com/Korrnals/gnome-battery-threshold

No comments.

FAQ

Files

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

Shexli (experimental) error 2 warning 2

Shexli found 4 issues that may need reviewer attention.

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • extension.js:479
    target.load_contents(null)

EGO-P-006 warning

unnecessary build and translation artifacts should not be shipped

Compiled GSettings schemas should not be shipped for 45+ packages.

Don't include unnecessary files

  • schemas/gschemas.compiled
    schemas/gschemas.compiled

EGO-P-001 error

GSettings schema id must use org.gnome.shell.extensions base

GSettings schema id must start with `org.gnome.shell.extensions`.

GSettings Schemas

  • schemas/io.github.korrnals.BatteryThreshold.gschema.xml
    id='io.github.korrnals.BatteryThreshold' path='/io/github/korrnals/battery-threshold/'

EGO-P-002 error

GSettings schema path must use /org/gnome/shell/extensions base

GSettings schema path must start with `/org/gnome/shell/extensions`.

GSettings Schemas

  • schemas/io.github.korrnals.BatteryThreshold.gschema.xml
    id='io.github.korrnals.BatteryThreshold' path='/io/github/korrnals/battery-threshold/'

All Versions

Version Status
1 Unreviewed