“Mouse battery low” notification can't be disabled

Bug #1798166 reported by Ohto on 2018-10-16
156
This bug affects 32 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
High
Unassigned
linux (Ubuntu)
Undecided
Unassigned

Bug Description

https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/108

---

I have a wireless mouse powered by non-rechargeable battery. The mouse works absolutely fine even with low battery level. Problem is, Ubuntu gives notifications about the battery level all the time.

I have had this issue for almost two months now, and mouse is working perfectly. I had to click away the notification almost every time I moved the mouse. I was then able to make the notifications appear less frequently, but the notification still always appear after some interval, and always after I log in.

Here are some specific things I have tried, they have not helped.

https://askubuntu.com/questions/1071406/how-to-disable-mouse-battery-low-notification-in-ubuntu-18-04

1)
Description: Ubuntu 18.04.1 LTS
Release: 18.04

2)
I assume the packet in question is notify-osd, not sure.
notify-osd:
  Installed: (none)
  Candidate: 0.9.35+16.04.20160415-0ubuntu2
  Version table:
     0.9.35+16.04.20160415-0ubuntu2 500
        500 http://fi.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

3) I expected that no notifications would appear when notifications are set to off

4) Mouse battery low - notification always appears
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: ohto 2927 F...m pulseaudio
 /dev/snd/controlC0: ohto 2927 F.... pulseaudio
 /dev/snd/controlC1: ohto 2927 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-07-28 (79 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=a59cc41b-0147-4609-b6c5-75fa912d2396 ro quiet splash vt.handoff=1
ProcVersionSignature: hostname 4.15.0-36.39-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-36-generic N/A
 linux-backports-modules-4.15.0-36-generic N/A
 linux-firmware 1.173.1
Tags: bionic
Uname: Linux 4.15.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/15/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F12
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77X-UP5 TH-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF12:bd05/15/2014:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ77X-UP5TH-CF:rvrTobefilledbyO.E.M.:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect -p linux 1798166

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected bionic
description: updated
Ohto (ohto-nordberg) wrote : CRDA.txt

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed

Did this issue start happening after an update/upgrade? Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8

Ohto (ohto-nordberg) wrote :

Earlier I used rechargeable batteries, I just recharged them when this notification appeared.

Kernel upgraded, problem still persists.
4.19.0-041900rc8-generic

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed

https://bugzilla.kernel.org/show_bug.cgi?id=201445
--
Cristian Aravena Romero (caravena)

https://marc.info/?l=linux-usb&m=153971734920554&w=2
--
Cristian Aravena Romero (caravena)

no longer affects: gnome-settings-daemon
Sebastien Bacher (seb128) wrote :

the issue is rather on the GNOME side that on the kernel, there was a request to add those to the notifications panel in https://gitlab.gnome.org/GNOME/gnome-shell/issues/308

ideally it would be reported to GNOME upstream on https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues

description: updated
Brad Figg (brad-figg) on 2019-07-24
tags: added: cscc
JPM (jpm) wrote :

I'm using Ubuntu 20.04 and every time I start typing on my keyboard, the "Keyboard battery low" alert pops up, obscuring a large part of the screen. This is becoming really annoying. I do not want to completely disable all power notifications as I'm using a laptop and need to know when the laptop will die.

Sebastien Bacher (seb128) wrote :

Retitling, it's now possible to disable the power notification but that's still not a great solution

summary: - “Mouse battery low” notification appears even when all notifications
- disabled
+ “Mouse battery low” notification can't be disabled
Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → High
Bhabba (bhabba) wrote :

> I'm using Ubuntu 20.04 and every time I start typing on my keyboard, the "Keyboard battery low" alert pops up, obscuring a large part of the screen. This is becoming really annoying. I do not want to completely disable all power notifications as I'm using a laptop and need to know when the laptop will die.

Exactly the same problem here!

Sebastien Bacher (seb128) wrote :

Could you take a screenshot of the notification?

Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
  native-path: hidpp_battery_0
  model: MX Keys Wireless Keyboard
  serial: 408a-9b-b6-52-57
  power supply: no
  updated: Fr 12 Jun 2020 22:39:07 CEST (8 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: low
    battery-level: low
    percentage: 10% (should be ignored)
    icon-name: 'battery-caution-symbolic'

Some background: rechargeable batteries have 1.2V nominal (compared to 1.5V nominal for regular battteries). Any mouse will report levels around 10%, although the batteries will run for *many* months.

So users of rechargeable batteries will experience notifications about low levels basically after a few days of using a rechargeable battery.

Although you might very wel argue that "it's a hardware problem", notifications about low mouse / keyboard battery should be optional, not forced upon the user.

I have no way to disable the mouse / battery level alarm. (that is BUG #1)

Furthermore, if i use DND (which i don't really want to use, but just assumed), the mouse/keyboard alarms are the ONLY alarms that OVERRIDE DND, to "using DND" is not a solution, and DND does in fact disturb in some cases, which is BUG #2.

Gaurav Nelson (gauravnelson) wrote :

Hope this one gets fixed soon. The notification is quite annoying.

Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_1
  native-path: hidpp_battery_1
  model: Wireless Mouse
  serial: 4022-00-00-00-00
  power supply: no
  updated: Tue 07 Jul 2020 11:04:07 (30 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: critical
    battery-level: critical
    percentage: 5% (should be ignored)
    icon-name: 'battery-caution-symbolic'

Changed in linux (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.