Comments (8)
That's strange. Can you run ’acpi -i’ in terminal when it happens and paste it here.
from awesome-wm-widgets.
$ acpi -i
Battery 0: Full, 100%
Battery 0: design capacity 8508 mAh, last full capacity 7484 mAh = 87%
$
from awesome-wm-widgets.
I just merged a small refactoring PR in battery-arc, could you please try again on latest master.
from awesome-wm-widgets.
Hi streetturtle!
I have pulled your code and run it at the moment, but this code has an even worse problem than before: Now, the battery fill is always displayed at almost 100% (ie, no charching required), when I can see with the mouse-over and also from the command line, that it is half empty already.
from awesome-wm-widgets.
Hi! Today, I've re-done the experiment and had the battery run down a bit more.
from awesome-wm-widgets.
As I cannot reproduce your issue, I would "print" (by showing notification with calculated value) the calculated value, I would start on this line https://github.com/streetturtle/awesome-wm-widgets/blob/master/batteryarc-widget/batteryarc.lua#L102 with this notification: naughty.notify{text = tostring(charge_cap)}
.
from awesome-wm-widgets.
So I reverted the latest commit.... Could you please try again?
from awesome-wm-widgets.
I'm facing the same issue on my laptop when it's at 100% and charging, but not when it's not charging. acpi
outputs
Battery 0: Not charging, 99%
when this is the case and the widget shows 0% battery and a warning.
acpi -a
outputs
Adapter 0: on-line
when I'm plugged in and
Adapter 0: off-line
when I'm not, so perhaps that can be helpful in finding a solution.
EDIT: To clarify, the widget shows 100% battery when I'm at 100% and not connected, and it shows 0% battery when I'm at 100% and connected.
from awesome-wm-widgets.
Related Issues (20)
- todo-widget does not pop up HOT 3
- pactl: Older versions of pactl do not have get-sink-* commands HOT 2
- man i love this widgets are awesome as awesome is the awesomewm
- Pactl volume-widget only updates on one screen HOT 5
- Consider using wttr.in for weather widget HOT 2
- Weather widget does not work, but there are 0 errors
- volume-widget: Mixer selection
- pactl-widget: No way to set limit on max volume HOT 2
- brightness_widget: incorrect brightnessctl command for getting current brightness level HOT 1
- Change color font on the spotify-widget Widget HOT 3
- cpu widget gets placed off screen sometimes HOT 1
- Install dir not found
- README.md installation info is missing HOT 2
- Are there any plans to support hibernate in logout popup? HOT 1
- scripts
- Batteryarc shows battery warning when battery is fully charged
- [Calendar] `focus_date_bg` and `focus_date_fg` broken after updating to last commits HOT 4
- apt widget not working because icon does not show in bar HOT 3
- calendar-widget: 'today' day is not set when opening the calendar
- Battery widget doesn't handle well two batteries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-wm-widgets.