I use Ubuntu 22.04 and I also have Windows installed on my machine I don't know why, but my charger stops charging suddenly;
One interesting thing is that the charger stops being detected by the OS and only is recognized again if I unplug it from the "wall socket"; Once it is detected, in general, it stops being recognized (and consequentially stops charging) after a few seconds or minutes;
I have faced it before and I think that the problem was solved when I used the bootable pen drive to install the OS again, but this time, I tried doing this workaround again and it didn't work.
I would like to know how could I get the logs or error messages to know how to fix this issue as I have tried to find solutions and I can't find almost anything about this.
Edit1: ~~~The problem had stopped happening for a while, the battery reached 80%, and then I ran an NLP model that uses 100% of the GPU and then the charger stopped recognizing it again; I have installed NVIDIA v. 535.161.07; After reconnecting it again from the socket, it started charging again and it seems to be stable now;~~~
Edit2: I've tested it and when I run my llm model and the Nvidia starts working, then the charger stops being recognized;
acpi output
$ acpiBattery 0: Discharging, 0%, rate information unavailableBattery 1: Discharging, 0%, rate information unavailableBattery 2: Charging, 34%, 01:21:27 until charged
Upower output:
$ upower -i /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: GIGABYTE model: AORUS 15Q power supply: yes updated: qua 06 mar 2024 17:12:43 (108 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging warning-level: none energy: 33,4704 Wh energy-empty: 0 Wh energy-full: 99,0128 Wh energy-full-design: 99,0128 Wh energy-rate: 47,8648 W voltage: 15,917 V charge-cycles: N/A time to full: 1,4 hours percentage: 33% capacity: 100% technology: lithium-ion icon-name: 'battery-good-charging-symbolic' History (charge): 1709755963 33,000 charging
Any help on fixing this will be very appreciated.
Regards,
Leonardo