Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dustypaws

Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Post by dustypaws »

As the title says, on my GIGABYTE Aero 15XV8 when I plug in the AC it shows that I'm on battery power and when I unplug it shows that I'm currently charging. It's a minor annoyance to me really, just thought I'd share. :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gm10

Re: Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Post by gm10 »

I'm not sure if you want help with that (or if we can help) but we'll always need to see the output of

Code: Select all

inxi -Fxz
And in this case the battery status the kernel reports:

Code: Select all

cat  /sys/class/power_supply/*/status
and the one that upower reports along with the chosen icon:

Code: Select all

upower -i $(upower -e|grep battery) | grep -e state -e icon
dustypaws

Re: Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Post by dustypaws »

Code: Select all

System:    Host: sebastian-AERO-15XV8 Kernel: 4.15.0-36-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: GIGABYTE product: AERO 15XV8 serial: <filter>
           Mobo: GIGABYTE model: AERO 15XV8 serial: N/A UEFI: American Megatrends v: FB07 date: 07/24/2018
Battery    BAT1: charge: 94.2 Wh 100.0% condition: 94.2/94.2 Wh (100%) model: GIGABYTE Aero 15 status: Full
CPU:       6 core Intel Core i7-8750H (-MT-MCP-) arch: Skylake rev.10 cache: 9216 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26496
           clock speeds: max: 4100 MHz 1: 2802 MHz 2: 3634 MHz 3: 3563 MHz 4: 3593 MHz 5: 3539 MHz 6: 4021 MHz
           7: 3694 MHz 8: 3699 MHz 9: 3658 MHz 10: 3244 MHz 11: 3691 MHz 12: 3488 MHz
Graphics:  Card-1: Intel Device 3e9b bus-ID: 00:02.0
           Card-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nouveau (unloaded: fbdev,vesa)
           Resolution: 1920x1080@144.03hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Device a348 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.15.0-36-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 512.1GB (2.4% used)
           ID-1: /dev/nvme0n1 model: THNSN5512GPU7_TOSHIBA size: 512.1GB
           ID-2: /dev/nvme1n1 model: Samsung_SSD_960_EVO_1TB size: 1000.2GB
Partition: ID-1: / size: 92G used: 12G (14%) fs: ext4 dev: /dev/nvme1n1p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 298 Uptime: 5:38 Memory: 2723.1/32026.0MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (sudo) inxi: 2.3.56
  

Code: Select all

╰─>$ cat  /sys/class/power_supply/*/status
Full

Code: Select all

╰─>$ upower -i (upower -e|grep battery) | grep -e state -e icon
    state:               fully-charged
    icon-name:          'battery-full-charged-symbolic'
:D
gm10

Re: Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Post by gm10 »

All of that looks consistent. According to that you should be seeing the full battery with AC power icon. Is that incorrect?
dustypaws

Re: Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Post by dustypaws »

Sorry for the delay... :)

Speaking of delay, there's a somewhat weird delay of around 2-3 Minutes before the icon changes state. So if I unplug, it still shows AC power for around 2-3 Minutes. If I un- or re-plug within that time, that's where the weirdness with the switched statuses starts...curious... :shock: :lol: So I guess some process in the background doesn't update quite fast enough or doesn't get notified, I don't know...just guessing. :roll:
gm10

Re: Cinnamon Battery Applet displays loading when unplugged and discharging when plugged in

Post by gm10 »

Sounds like it. I don't know if that's normal for Cinnamon since I'm not actually using it - on MATE the status switches instantly. Might be an issue with the Cinnamon power applet. Did you try an alternate battery monitor, I know there's one in the list of applets you can add. Maybe a Cinnamon user can weigh in. But 2-3 minutes sounds extreme either way.
Locked

Return to “Hardware Support”