You are not logged in.
I've got my laptop plugged in.
The xfce power manager is repeating, incessantly: "Your battery is charging", "Your battery is fully charged", "Your battery is charging", "Your battery is fully charged", "Your battery is charging", "Your battery is fully charged"... etc.
This has never happened before. The most likely explanation is that there is some short causing the power to keep dropping. I'm not aware of any loose connections or problems with my power supply. I'm sat in a cafe I've never sat in before. I can't say for sure.
However, the power supply appears to be causing problems for an external CD-ROM, which I have connected, and is detected, but I cannot access:
$ dmesg | grep -A8 CD-ROM
[489746.787279] scsi 6:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-E50N WE01 PQ: 0 ANSI: 0
[489746.791566] sr 6:0:0:0: Power-on or device reset occurred
[489746.798278] sr 6:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[489746.798282] cdrom: Uniform CD-ROM driver Revision: 3.20
[489746.799011] sr 6:0:0:0: Attached scsi CD-ROM sr0
[489746.799143] sr 6:0:0:0: Attached scsi generic sg2 type 5
[497069.177613] usb 1-1.2: USB disconnect, device number 8
...
[507992.493503] scsi 6:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-E50N WE01 PQ: 0 ANSI: 0
[507992.497192] sr 6:0:0:0: Power-on or device reset occurred
...
[508992.012175] scsi 6:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-E50N WE01 PQ: 0 ANSI: 0
[508992.020448] sr 6:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[508992.020684] sr 6:0:0:0: Attached scsi CD-ROM sr0
[508992.020829] sr 6:0:0:0: Attached scsi generic sg2 type 5
...
[509302.497990] scsi 6:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-E50N WE01 PQ: 0 ANSI: 0
[509302.501631] sr 6:0:0:0: Power-on or device reset occurred
Can anyone help diagnose the problem for an inexpert user?
Offline
I've noticed something similar with my laptop, Thinkpad T480 (comes with a small internal 3 cell battery and a small standard removable/changable 3 cell battery I think) and Fedora 30
It is always plugged in, however maybe every hour or two I get notifications regarding the system's battery charging, then a little while later another one saying the battery is fully charged. It's always been a little annoying seeing those notifications, I'm not sure if it's something to do with having 2 built in batteries or what but I've even got the same messages when the laptop is plugged into a UPS instead of a surge protector so I don't think it's any kind of problem with the power surging here or anything like that.
Do those events in your log happen at the exact same time as the power notifications, because in my case I'm not experiencing any problems aside from the notifications themselves. It seems strange that devices plugged in would be disconnecting or having problems simply from a laptop switching from being plugged in to going to battery assuming it's actually doing that and there's not some kind of false positive going on with the notifications like I believe is happening to me.
I'll quit the power manager (xfce4-power-manager -q) and then run it in a terminal with debug on (xfce4-power-manager --debug) to see if there are any relevant messages the next time I see that notification pop up.
Last edited by jwu5000 (2019-05-21 00:18:48)
Offline
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 522.09 KiB (Peak: 522.71 KiB) ]