#
…

2025-09-29

02:04tobhe_ has joined #ubuntu-asahi
02:11tobhe has quit [Ping timeout: 480 seconds]
07:05asterix2025 has joined #ubuntu-asahi
07:06asterix2025Hello all ! , pleased to talk to you again
07:07asterix2025tobhe_ ! how are you ?=
07:09asterix2025I would like to know how to optimize sleep mode and battery use in my M2 ... when discharges to zero , and I plugin the power , the laptop plays a strange noise every few seconds as well ...
07:13tobhe[m]Hey! doing fine thx
07:14tobhe[m]not sure there is much you can optimize in sleep mode as a user, arguably suspend power drain is a bit high on some devices. For active battery consumption screen brightness and keyboard backlight seem to be the easiest things to optimize
07:15tobhe[m]> and I plugin the power , the laptop plays a strange noise every few seconds as well
07:15tobhe[m]sounds like a bug. It should play a sound once
07:15tobhe[m]the same sound you hear when you run:
07:15tobhe[m]`pw-play /usr/share/sounds/Yaru/stereo/power-plug.oga`?
08:37asterix2025hello , I was on a meeting sorry ... regaridng sleep mode , I know tha you may selectively keep some parts of the motherboard powered or not , this may be the reason ... give you an example , last friday the laptop was 100% , after some work I let it at 70% , then I put it in sleep mode and lit of the screen ... this morning I took it it was 0% not able even to boot with power connected till gets 2-3%
08:38tobhe[m]70% is a bit more than expected yes
08:39asterix2025it sounds every 5 seconds when the M2 is in shutdown mode and plugged to the grid
08:40asterix2025I'll try to find the sound in /usr/share/sounds
08:42asterix2025I think is not any of these as the computer is halted
08:43asterix2025I remember when I installed my 1st ubuntu in a macbook air ... back in 2012 ... I had to trick config somethings to optimize the battery lasting ... when I upgraded the ubuntu version , this was not necesary any more
08:44asterix2025there is any literature somewhere about asahi power consume fine-tunnning ?
08:45asterix2025I'll dig into it and come with the results
08:46tobhe[m]unfortunately I don't think there's much documentation. It is mostly driver specific stuff that can't easily be tuned I think
08:48asterix2025:-( I can't belive Im the only one having this problem ,,, are M3 users facing the same problems ?
08:52tobhe[m]haven't seen any other reports. I have an m2 air that doesn't have this problem
08:55asterix2025;-( --- ouh
08:55tobhe[m]which release are you using? I am usually on pretty new releases on my daily driver machine
08:55asterix2025this is ugly ... may be is related to the hardware version
08:56asterix2025Linux 6.14.0-1001-asahi-arm
08:57asterix2025I would love to do a fresh install , if this solves both problems
08:57tobhe[m]hard to tell without knowing what it is exactly
08:58tobhe[m]what does cat /etc/lsb-release say?
08:59tobhe[m]I think you should be able to upgrade, I'm on 6.16.0-1002-asahi-arm
09:00asterix202524.04.1 LTS
09:00tobhe[m]let me see if we published the newer kernel for noble...
09:01asterix2025I can upgrade to 25.10 or whatever ..
09:01tobhe[m]so even in 24.04 you should be able to update to 6.16
09:01asterix2025another meeting .... :-)
09:01tobhe[m]and of course an upgrade to a newer release might also help
09:01tobhe[m]again no guarantees 🙂 all I know is that on 25.10 i'm not seeing this
09:33asterix2025I dont need warranties at all lol ;-)
09:33asterix2025then how is the best way to upgrade to 25.10 and 6.16 ?
09:34asterix2025sudo apt dist-upgrade ?
09:34asterix2025or better a fresh install ?
09:35tobhe[m]do-release-upgrade
09:35tobhe[m]or upgrade-manager -d
09:36tobhe[m]you might have to udpate /etc/update-manager/release-upgrades to not say LTS
09:36tobhe[m]and probably want to do first steps first, so 25.04. 25.10 isn't officially out yet
10:09asterix2025thanks tobhe!
10:14asterix2025upgraded to 6.16
10:15asterix2025another think ... my latpop M2 was comming with a USB-C charger , not the apple one , takes ages to charge ... using an apple charger will improve chargin time ?
10:17tobhe[m]probably yes. always depends on the brick and cable with usb-c
10:23asterix2025upgrade to 6.16 kernel but dist is still 24.04 , remove the lts from /etc/update-manager/release-upgrades
10:24asterix2025i've updated and upgrade d all , but when I do do-release-upgrade I always get an "please install all avalable updates for your release before upgrading"
10:25tobhe[m]does `apt update && apt upgrade` complain?
11:35asterix2025no , everything run smooth
11:36tobhe[m]maybe you need to reboot or try dist-upgrade before running do-release-upgrade
11:36asterix2025well well , I have some packages kept back
11:36tobhe[m]which ones?
11:36tobhe[m]that is likely the cause
11:36asterix2025libegl-mesa0 , libgbm1 mesa vulkan-drivers
11:37tobhe[m]does dist-upgrade fix that?
11:42asterix2025they still got kept-back
11:50asterix2025ouh , gut a dist upgrade notification in screen now ...
11:54tobhe[m]if nothing else helps it will tell you the reason if you try installing one of the kept-back packages manually
11:56asterix2025it seems it's upgrading now !
11:59asterix2025ok , eveything fixed except on libgl1-amber-dri
11:59tobhe[m]you should be able to remove that one
11:59tobhe[m]not needed on asahi
12:00tobhe[m]amber is the mesa legacy branch iirc. only needed for devices that are closer to 20 years old
12:00asterix2025clear to "do-release-upgrade"
12:04asterix2025dist upgrade will take time , thanks for your help !
12:53tobhe_ has quit [Ping timeout: 480 seconds]
12:57tobhe has joined #ubuntu-asahi
13:40asterix2025upgraded !
13:41asterix2025powered of the M2
13:41asterix2025cable plugged in ...
13:44asterix2025Still listening the sound when is shutdown, if battery is empty every 5 seconds , now is 45% every 40 seconds... it's maybe because I'm using USB-C charger instead of the main power one ... ?¿?
13:44asterix2025booting up
13:44asterix2025how can I verify that the current sleep mode , is not drainin the battery more than it should ?
13:49tobhe[m]essentially the only reliable way is fully charging and checking how much is left after a day
13:55asterix2025I will investigate on how to get numeric detailed info for battery discharge and power consume , it' also posible , that my unit have the battery damaged ... but I suspect an inefficient sleep mode battery drain
14:29asterix2025thobe , could you execute this from an SSH terminal on your laptop with already screen of ? "awk '{print $1 / 1000 " mA"}' /sys/class/power_supply/macsmc-battery/current_now"
14:30asterix2025I mean with the screen in off mode
14:30asterix2025awk '{print $1 / 1000 " mA"}' /sys/class/power_supply/macsmc-battery/current_now
14:31asterix2025the M2 should be idle , no background tasks at all ...
15:05tobhe_ has joined #ubuntu-asahi
15:07tobhe has quit [Ping timeout: 480 seconds]
15:19asterix2025tobhe , succesfully upgraded thank you !
15:19asterix2025 has left #ubuntu-asahi [#ubuntu-asahi]
16:43tobhe has joined #ubuntu-asahi
16:48tobhe_ has quit [Ping timeout: 480 seconds]
…