#ubuntu-asahi · 2024-01-26 20:39
eslerm[m]https://social.treehouse.systems/@marcan/111823747767351431 🤷#ubuntu-asahi · 2024-01-24 21:19
tobhe[m]since this seems to have gotten worse recently it might be worth looking at recently added drivers#ubuntu-asahi · 2024-01-24 21:17
tobhe[m]if you look at the individual drivers you will usually find something like https://github.com/AsahiLinux/linux/blob/asahi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c#L2954-L2981 where the device is powered down or switched to a low power mode during sleep#ubuntu-asahi · 2024-01-24 21:10
tobhe[m]But for real, this is incredibly hardware dependent since it really depends on your CPU but also all other attached devices and if and how they can be powered down and small differences in power consumption make a huge difference in battery runtime#ubuntu-asahi · 2024-01-24 21:00
eslerm[m]I didn't grok quick enough :)#ubuntu-asahi · 2024-01-24 20:59
john-cabaj[m]Good call#ubuntu-asahi · 2024-01-24 20:59
eslerm[m]📀#ubuntu-asahi · 2024-01-24 20:59
john-cabaj[m]No cymbals?#ubuntu-asahi · 2024-01-24 20:59
john-cabaj[m]tobhe[m]: 🥁🔔#ubuntu-asahi · 2024-01-24 20:58
eslerm[m]you can't compare between, but you can compare trends within#ubuntu-asahi · 2024-01-24 20:58
tobhe[m]well unless you compare Apples to Apples 🥁#ubuntu-asahi · 2024-01-24 20:57
john-cabaj[m]I just changed this last week in my BIOS (Linux --> Windows 10)#ubuntu-asahi · 2024-01-24 20:57
john-cabaj[m]eslerm[m]: I think that means you're using s3#ubuntu-asahi · 2024-01-24 20:56
tobhe[m]s2idle only means that all of the sleep logic is left to the OS instead of being done in firmware, comparing different hardware doesn't make a lot of sense#ubuntu-asahi · 2024-01-24 20:56
eslerm[m]s2idle [deep]#ubuntu-asahi · 2024-01-24 20:55
john-cabaj[m]cat /sys/power/mem_sleep should tell you#ubuntu-asahi · 2024-01-24 20:54
eslerm[m](battery capacity is different from the m2, but trends within each system might tell us something)#ubuntu-asahi · 2024-01-24 20:54
eslerm[m]I'll test turning off just the monitor next then#ubuntu-asahi · 2024-01-24 20:54
eslerm[m]<john-cabaj[m]> "My Thinkpad uses s2idle" <- aha, then I've likely used that on my t14s g2 and found a 0.40%/hour discharge rate#ubuntu-asahi · 2024-01-24 20:18
tobhe[m]afaiu even macos doesn't use more than deep wfi, so the CPU should not be responsible for the difference we are seeing#ubuntu-asahi · 2024-01-24 20:17
tobhe[m]I think it is rather likely that there is some peripheral device not powering down properly#ubuntu-asahi · 2024-01-24 20:10
tobhe[m]and only register interrupt handlers for lid and power button#ubuntu-asahi · 2024-01-24 20:10
tobhe[m]less even, I think only a single one needs to remain active#ubuntu-asahi · 2024-01-24 20:09
john-cabaj[m]Does s2idle only keep the lower power cores active?#ubuntu-asahi · 2024-01-24 20:08
tobhe[m]another example of things using s2idle are basically all phones#ubuntu-asahi · 2024-01-24 20:08
tobhe[m]most modern hardware doesn't support it.#ubuntu-asahi · 2024-01-24 20:05
john-cabaj[m]I don't think s3 works well anymore#ubuntu-asahi · 2024-01-24 20:05
john-cabaj[m]My Thinkpad uses s2idle#ubuntu-asahi · 2024-01-24 19:47
tobhe[m]replied over there#ubuntu-asahi · 2024-01-24 19:40
tobhe[m]and I am pretty sure that some of it is wrong. we do disable CPUs#ubuntu-asahi · 2024-01-24 19:39
tobhe[m]but that's not the actual problem. Apple is doing the same#ubuntu-asahi · 2024-01-24 19:39
tobhe[m]sure, that's because we don't have hardware sleep states#ubuntu-asahi · 2024-01-24 19:38
eslerm[m]Asahi uses s2idle for sleep mode#ubuntu-asahi · 2024-01-24 19:38
eslerm[m]https://www.kernel.org/doc/Documentation/power/states.txt#ubuntu-asahi · 2024-01-24 19:37
eslerm[m]there is some discussion in the Fedora Asahi channel now#ubuntu-asahi · 2024-01-23 21:08
eslerm[m]LXD work o.o#ubuntu-asahi · 2024-01-23 15:30
tobhe[m]even better#ubuntu-asahi · 2024-01-23 15:30
eslerm[m]I'll do it on sway, where I don't have swayidle and I'll manually turn off the backlight#ubuntu-asahi · 2024-01-23 15:28
tobhe[m]auto suspend should be a separate setting#ubuntu-asahi · 2024-01-23 15:28
tobhe[m]you can probably just wait for the backlight to turn off#ubuntu-asahi · 2024-01-23 15:27
eslerm[m]I'll do something like that, and disable screen backlight#ubuntu-asahi · 2024-01-23 15:26
tobhe[m]but there might also be a gui setting for gnome#ubuntu-asahi · 2024-01-23 15:25
tobhe[m]maybe sth like systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target and wait 8 hours#ubuntu-asahi · 2024-01-23 15:23
eslerm[m]with suspend disable: can you describe the test?#ubuntu-asahi · 2024-01-23 15:23
tobhe[m]like it flushes all the messages that happened in between#ubuntu-asahi · 2024-01-23 15:22
eslerm[m]yeah#ubuntu-asahi · 2024-01-23 15:22
eslerm[m]yes, but not all logs had reported they were finished yet#ubuntu-asahi · 2024-01-23 15:22
tobhe[m]what I find weird is how many log messages I get after waking up#ubuntu-asahi · 2024-01-23 15:22
tobhe[m]the log is definitely stopped though#ubuntu-asahi · 2024-01-23 15:21
eslerm[m]without fans, it's hard to tell if its running or not