-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Battery notification goes over 100% #1872
Comments
What's bugging me is the percentage reaching that level lol. Can you please run batterynotify.sh --verbose and show the outputs here.Give it some time like 30 mins of running when fully charged. Also Here are the available overrides for HyDE |
I'm sorry I haven't been able to get back to you on this. I've been busy but it's weird that I don't see the notification anymore after battery reaches 100%. I've noticed from the past that this happens randomly. I don't quiet understand it. But I'll get back to you as soon as I can. |
Hmmm I guess this is the device issue showing incorrect battery percentage. If it's broken you can suppress the notification by adding the configuration file inside hyde.conf |
WARNING: Full Threshold must be 80 - 100.
WARNING: Critical Threshold must be 2 - 50.
WARNING: Low Threshold must be 10 - 80.
WARNING: Unplug Threshold must be 50 - 100.
WARNING: Timer must be 60 - 1000.
WARNING: Notify must be 1 - 1140.
WARNING: Interval must be 1 - 10.
Modify /home/rapzy/.config/hyde/hyde.conf to set options.
STATUS THRESHOLD INTERVAL
Full 100 1140 Minutes
Critical 5 120 Seconds then 'systemctl suspend'
Low 20 5 Percent then ''
Unplug 80 5 Percent then ''
Charging:
Discharging:
Verbose Mode is ON...
=============================================
Battery Status: Charging
Battery Percentage: 110
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 111
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 112
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 113
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 114
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 115
=============================================
Prompt:UNPLUG: Charging 115
44
=============================================
Battery Status: Charging
Battery Percentage: 116
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 117
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 118
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 119
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 120
=============================================
Prompt:UNPLUG: Charging 120
46
=============================================
Battery Status: Charging
Battery Percentage: 121
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 122
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 123
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 124
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 125
=============================================
Prompt:UNPLUG: Charging 125
48
=============================================
Battery Status: Charging
Battery Percentage: 126
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 127
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 128
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 129
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 130
=============================================
Prompt:UNPLUG: Charging 130
50
=============================================
Battery Status: Charging
Battery Percentage: 131
=============================================
=============================================
Battery Status: Charging
Battery Percentage: 132
=============================================
^C It might be my broken battery but I don't want to completely turn off the notification. Is it possible to edit the script so that notification stops after battery reaches 100%? |
Bug Report
Description
Batterynotify constantly notifies even after charge is 100%. My battery health is pretty much dead so I keep my charger plugged in most of the time.
Expected Behavior
Battery notification to stop after reaching 100%.
Actual Behavior
It keeps notifying incrementally. 100% > 105%> 110%.
Screenshots
Environment
Archlinux
uname -a
:Linux rapzy 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
hyprctl version
:Hyprland, built from branch at commit 0f594732b063a90d44df8c5d402d658f27471dfe (props: bump version to 0.43.0). Date: Sun Sep 8 16:48:21 2024 Tag: v0.43.0, commits: 5196
The text was updated successfully, but these errors were encountered: