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

#linux

threaded - newest

maxwells_daemon@lemmy.world on 16 Sep 18:37 next collapse

Welcome to Linux

anon5621@lemmy.ml on 16 Sep 18:40 next collapse

But it supossed to work when u closing ur lid of laptop

basiclemmon98@lemmy.dbzer0.com on 16 Sep 18:41 next collapse

Who closes their laptop?
Edit for clarity: /j

hendrik@palaver.p3x.de on 16 Sep 18:44 next collapse

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.

illusionist@lemmy.zip on 16 Sep 18:49 next collapse

Sounds like a small backpack

hendrik@palaver.p3x.de on 16 Sep 18:52 collapse

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.

N0x0n@lemmy.ml on 17 Sep 04:22 collapse

Or people who uses it as a mini server and SSH into it while lid is closed 😎

meekah@lemmy.world on 16 Sep 18:44 collapse

In fact my laptop is barely ever opened when I use it lmao

jlow@discuss.tchncs.de on 16 Sep 18:57 next collapse

Or use any of the UI options to sleep your computer, isn’t it?

anon5621@lemmy.ml on 16 Sep 19:05 collapse

Well I suppose maybe he is using i3 :)

basiclemmon98@lemmy.dbzer0.com on 16 Sep 19:20 collapse

Niri actually ^_^

Nibodhika@lemmy.world on 17 Sep 04:44 collapse

Unless you turn that off manually, I should know, it’s the first configuration I change on every new installation on a laptop.

hendrik@palaver.p3x.de on 16 Sep 18:42 next collapse

At least the Arch Wiki is always there for us...

eldavi@lemmy.ml on 17 Sep 17:31 collapse

and it’s outlasted so many others as well.

sepi@piefed.social on 16 Sep 19:06 next collapse

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.

interdimensionalmeme@lemmy.ml on 16 Sep 22:56 collapse

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.

hendrik@palaver.p3x.de on 17 Sep 07:07 collapse

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.

frongt@lemmy.zip on 17 Sep 12:07 collapse

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.

hendrik@palaver.p3x.de on 17 Sep 12:26 collapse

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.

paequ2@lemmy.today on 16 Sep 19:31 next collapse

Is systemctl suspend different than closing the lid or clicking “sleep” on your DE’s power menu?

basiclemmon98@lemmy.dbzer0.com on 16 Sep 19:36 collapse

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.

timroerstroem@feddit.dk on 16 Sep 20:00 next collapse

I like wlogout, I’ve mapped the power button to launch it.

mina86@lemmy.wtf on 16 Sep 21:42 next collapse

I just use Arch

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.

I think the laptop bios battery is dying

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.

basiclemmon98@lemmy.dbzer0.com on 16 Sep 22:29 next collapse

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.

mina86@lemmy.wtf on 17 Sep 00:08 next collapse

I am also aware the bios battery does nothing once it’s booted

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.

So I assumed the cmos battery is dying, but not dead enough to lose settings yet.

That’s not how CMOS battery work. It’s even good enough or you’re loosing the clock.

aBundleOfFerrets@sh.itjust.works on 17 Sep 12:58 collapse

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.

oeuf@slrpnk.net on 16 Sep 22:40 collapse

“I take full responsibility for my Arch install” is one of my favourite lines from a linux youtuber.

basiclemmon98@lemmy.dbzer0.com on 16 Sep 22:54 collapse

This quote has been yoinked. I need it on a shirt tbh.

paequ2@lemmy.today on 17 Sep 17:35 collapse

Sweet, that’s awesome. 🥳

bimbimboy@lemmy.world on 16 Sep 22:12 next collapse

please, forgive me

basiclemmon98@lemmy.dbzer0.com on 16 Sep 22:32 collapse

You, and only you, may be forgiven. For I am feeling merciful at this time and you asked so nicely bimbimboy.

bimbimboy@lemmy.world on 17 Sep 00:12 collapse

❤️

floquant@lemmy.dbzer0.com on 16 Sep 22:47 next collapse

#blessed by a chance to learn something on the aw 🙏

eskuero@lemmy.fromshado.ws on 16 Sep 23:06 next collapse

Rtfm happy ending

mugita_sokiovt@discuss.online on 17 Sep 00:36 next collapse

I hadn’t known about it either (before I started using it), so I feel that.

0xf@lemmy.ml on 17 Sep 07:03 next collapse

You can echo ‘mem’ > /sys/power/state as root to suspend. Or echo sleep into the file for hibernate.

Ferk@lemmy.ml on 17 Sep 14:32 next collapse

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 with brightnessctl, etc. Why would you assume there wasn’t a command for suspending? :P

You 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.

basiclemmon98@lemmy.dbzer0.com on 17 Sep 15:20 collapse

I didn’t assume anything, I simply just didn’t even think about power states when using the laptop.

kami@lemmy.dbzer0.com on 17 Sep 17:14 collapse

Skill issue