Giter Club home page Giter Club logo

autohide-battery's Introduction

My projects and areas of expertise:

PostCSS logo      Browserslist logo      Autoprefixer logo      Logux logo      Size Limit logo      Size Limit logo      Storeon logo      SugarSS logo     

autohide-battery's People

Contributors

70h avatar ai avatar andy-ivanyuk avatar chvs avatar comradekingu avatar ddinghoya avatar dependabot[bot] avatar enku avatar ilyaryabchinski avatar maciej-klupp avatar maged809070 avatar marcosdalvarez avatar marekpikula avatar oxayotl avatar petrpulc avatar rezaalmanda avatar ruiguilherme avatar suvanbanerjee avatar vistaus avatar weblate avatar workingrobot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

autohide-battery's Issues

Manifest update

Thank your for this simple but great extension! Since GNOME 3.20 has been released, could you take the time to modify manifest.json and upload it to the extensions site?

Repeated display and hiding of battery icon

Because of the aging of the laptop battery, sometimes the battery level jumps between 100% and 98%, leading to repeated display and hiding of battery icon.
Please add a threshold setting, hide the icon as long as the battery level reaches a certain value.
Thanks a lot!

Not hide battery indicator.

OS Fedora 26, Gnome 3.24 and listing extensions below:

AlternateTab
Arc Menu
Caffeine
Dash to Panel
Disable Barrier Support
Disconnect Wifi
Extend Panel Menu
Extended Gestures
Extension Update Notifier
Imgur Screenshot Uploader
KStatusNotifierItem/AppIndicator Support
No Topleft Hot Corner
NoAnnoyance
Panel OSD
Permanent notifications
Refresh Wifi Connections
Remmina Search Provider
Removable Drive Menu
Remove Dropdown Arrows
Status Area Horizontal Spacing
TopIcons Plus
Transcode App Search
Trash
User Themes

Add option to hide battery on 'unknown' power state

On my Lenovo Legion laptop, and probably on other Lenovo laptops, when battery conservation mode is enabled and the battery level reaches the threshold (which can be 58 to 60 %), /sys/class/power_supply/BAT0/status reports Unknown. It'd be great if this extension supported this to avoid having to manually change the maximum charging level from 100% to 58% and vice versa whenever the conservation mode is toggled.

With the last update in arch linux

With the last update in arch linux:
The settings of extension [email protected] had an error:

Error: No property margin on GtkGrid

Stack trace:

_init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:55:50
buildPrefsWidget@/usr/share/gnome-shell/extensions/[email protected]/prefs.js:14:14
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Battery icon not showing when device is unplugged

Current behavior

my battery stops charging at 90% (battery health feature) so i have put my full charge limit at 90% but if my battery is more than 90% it hides battery icon regardless of the charging state

Expected behavior

It should only hide the battery icon when device is plugged.

Fails to work with Gnome 3.16

This worked like a charm with Gnome 3.12 and 3.14. I just updated to Gnome 3.16
on openSUSE Factory/Tumbleweed and extensions.gnome.org listed this extension
as outdated (and indeed it fails to work).

TypeError: UPower is undefined

Upgraded to version 24 on GNOME 42. Not sure why this is happening but

JS ERROR: TypeError: UPower is undefined
update/<@/home/marduk/.local/share/gnome-shell/extensions/[email protected]/extension.js:22:25
getBattery@/home/marduk/.local/share/gnome-shell/extensions/[email protected]/extension.js:39:13
update@/home/marduk/.local/share/gnome-shell/extensions/[email protected]/extension.js:21:13

Although UPower seems to be defined on line 2. I've tried UPower = imports.ui.status.power.UPower on the Looking Glass prompt and get an object. Could there be some kind of race?

Makefile

can we get a makefile to better install this as a builtin extension for Gnome instead of if being a manual install????

Deprecation warning from indicators

Aug 18 17:21:56 spurlos-ThinkPad-E580 gnome-shell[2971]: Usage of indicator.indicators is deprecated for Indicator#012get indicators@resource:///org/gnome/shell/ui/panelMenu.js:213:25#012getBattery@/home/spurlos/.local/share/gnome-shell/extensions/[email protected]/extension.js:41:5#012hide@/home/spurlos/.local/share/gnome-shell/extensions/[email protected]/extension.js:16:3#012update/<@/home/spurlos/.local/share/gnome-shell/extensions/[email protected]/extension.js:29:7#012getBattery@/home/spurlos/.local/share/gnome-shell/extensions/[email protected]/extension.js:41:5#012update@/home/spurlos/.local/share/gnome-shell/extensions/[email protected]/extension.js:23:3#012enable@/home/spurlos/.local/share/gnome-shell/extensions/[email protected]/extension.js:50:3#012_callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:122:49#012_onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:505:18#012_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:504:21#012_init/ceateCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:529:46#012disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:209:29#012DisableExtension@resource:///org/gnome/shell/ui/shellDBus.js:311:38#012_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:327:38#012_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:404:34

Seems that some code is getting old.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.