Noone told me about systemctl suspend. I had to accidently learn about it from the arch pages. My battery is happy now, and you all will never be forgiven for your silence. That is all.
(wiki.archlinux.org)
from basiclemmon98@lemmy.dbzer0.com to linux@lemmy.ml on 16 Sep 18:34
https://lemmy.dbzer0.com/post/53445804
from basiclemmon98@lemmy.dbzer0.com to linux@lemmy.ml on 16 Sep 18:34
https://lemmy.dbzer0.com/post/53445804
threaded - newest
Welcome to Linux
But it supossed to work when u closing ur lid of laptop
Who closes their laptop?
Edit for clarity: /j
People who carry it around and don't just use it as a desktop replacement... With an open lid it doesn't quite fit into my bag pack.
Sounds like a small backpack
Yeah, people stare if I hop on the commuter train with the the large one that fits camping gear and supplies for 2 weeks. And I don't own anything in between.
Or people who uses it as a mini server and SSH into it while lid is closed đ
In fact my laptop is barely ever opened when I use it lmao
Or use any of the UI options to sleep your computer, isnât it?
Well I suppose maybe he is using i3 :)
Niri actually ^_^
Unless you turn that off manually, I should know, itâs the first configuration I change on every new installation on a laptop.
At least the Arch Wiki is always there for us...
and itâs outlasted so many others as well.
You have the systemd haters to thank for this one. They have wasted so much time talking shiz about a system they did not want to understand and downvoting folks posting about stuff they use. Next time you find something else useful in systemd and wonder "How come nobody told me?", know that we tried and got drowned out by the cool kids.
I understand the concerns about blobbification of all these system into a technical monolith that you have to swallow whole or not at all, that you canât really break down into itâs individual components. So if the thing you need isnât in there, you have to chuck the entire systemd thing and switch back to SysV
However, I quite like systemd so far⌠except for having dozens of processes, thatâs not super chill to have so much stuff I donât use running but OK, convenient.
At least itâs not like Wayland, that we have been forced into while it was barely working, and still today itâs only kinda working with lot lot lots of non-working stuff and mega jank stuff while now X11 is rotting and dying. So weâre stuck with half-dead half-lobotomized graphics system⌠I hope they eventually get their shit together and I wish they would have made wayland working before killing X11.
And Linux has quite some pragmatic people as well, first of all Linus Torvalds himself, who has kind of a down-to-earth approach towards ideology.
I've not yet talked to a SystemD hater in real life, that seems to be more predominant between random people on the internet. And I myself prefer writing SystemD unit files over what I had to do before that was a thing.
Most people also donât talk about init systems in real life.
I have, though, I was asked my opinion on systemd during a job interview. The interviewer didnât give much of their own opinion but it was obvious.
Lol. I suppose it's a promising way to learn how someone thinks and reacts, see if they're focused on solving issues or focused on drama... And how deep they are into Linux lore. And whether they understand it or parrot someone else's talking points.
Idk. I rarely have long nerd discussions, but once I'm done with the latest Star Trek show, I occasionally ask people about their stance on SystemD, some instant messenger or whether we should stick to C99. And either we skip that, or maybe I'll hear some interesting, unique perspective shaped by what they do.
Is
systemctl suspend
different than closing the lid or clicking âsleepâ on your DEâs power menu?No, itâs not different, I just use Arch and have no power menu anymore, nor did I usually close my laptop lid while I was still planning to use it. I usually just powered it down fully because it used to start very fast, but I think the laptop bios battery is dying or something, because it turns on much slower now than it did before. So finding the actual command that triggers the suspend state was so epic, because I can script and bind it now.
I like wlogout, Iâve mapped the power button to launch it.
You have only yourself to blame then. Youâve chosen a distribution which expects users to learn how the system works and itâs on you to figure out how to suspend the system.
This is unlikely. If the battery was dying, youâd be loosing BIOS/UEFI settings including time. Once the computer starts up, the battery is unused.
Yes, thatâs why I chose the distro I chose, and why this was not a serious post were I was actually upset, I enjoy learning and reading, I just wanted to make a post about suspend bc it has made me happy. I am also aware the bios battery does nothing once itâs booted, once itâs booted the performance is the same as it has always been. So I assumed the cmos battery is dying, but not dead enough to lose settings yet.
The CMOS battery does nothing from the moment computer is turned on. If youâre saying booting takes longer, thatâs not batteryâs fault.
Thatâs not how CMOS battery work. Itâs even good enough or youâre loosing the clock.
The CMOS battery only maintains the data in the biosâ volatile memory and runs the RTC when the system has no power, it is completely out of the picture when data is being read from said volatile memory.
âI take full responsibility for my Arch installâ is one of my favourite lines from a linux youtuber.
This quote has been yoinked. I need it on a shirt tbh.
Sweet, thatâs awesome. đĽł
please, forgive me
You, and only you, may be forgiven. For I am feeling merciful at this time and you asked so nicely bimbimboy.
â¤ď¸
#blessed by a chance to learn something on the aw đ
Rtfm happy ending
I hadnât known about it either (before I started using it), so I feel that.
You can echo âmemâ > /sys/power/state as root to suspend. Or echo sleep into the file for hibernate.
I mean, in the Linux terminal you can literally do anything a computer can do. You can play with your PC speaker with
beep
, dim your screen withbrightnessctl
, etc. Why would you assume there wasnât a command for suspending? :PYou can also use
rtcwake
and program the PC to come back from suspension automatically at a certain time⌠I used to set up my small laptop with music to wake up with it as a morning alarm.I didnât assume anything, I simply just didnât even think about power states when using the laptop.
Skill issue