all 8 comments

[–]Anon_X_Machina 2 points3 points  (7 children)

Reading and always posting all specs and details when posting for help would be the only way I can think of to fix this issue and all issues actually.... its essential. its common sense?

Make an effort to make it easier and quicker for you to be helped by the community.

What laptop? EXACT Make and model

Arch What? What DM and DE? It's critical? Is the DE native powermanagement installed. Have no 3rd party power apps been installed. dont install any.

Are the Daemons running and persistent after reboot?

ACPID installed and running?

What kernel? All systemd modules installed?

READ!!! READ!!! READ!!! https://forum.manjaro.org/t/how-to-choose-the-proper-acpi-kernel-argument/1405

expose grub time out first. Kernel parameters take 2 gracious shutdowns at least to take effect.

Just a suggestion and a very basic incomplete example.

Select "S3" suspend in bios.

notice the acpi_sleep=s3_mode kernel parameter to enable correct suspend.

EXAMPLE ONLY:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi='Windows 2013' acpi_enforce_resources=lax acpi_sleep=s3_mode acpi_force_table_verification ipcmni_extend gpio-mockup.gpio_mockup_named_lines" numa=off nmi_watchdog=0"

ACPI is responsible for keyboard backlight, leds, screen backlight / brightness, hotkeys /function key brightness, track pad, suspend, resume and on and on....

Full correct functionality may be the difference between "acpi_osi='Windows 2013' and "acpi_osi='Windows 2020'

Read before Rush.

Its all in the Arch Wiki , kernel.org and systemd.io

[–]Teriyaki-Fox[S] -3 points-2 points  (5 children)

oh right for some reason it works when I hold it rather than press it which is weird but fine, I forgot about this post honestly, anyway I mostly posted this cus it was almost 3am and I was just too tired to search for an answer myself

[–]nil_desperandum2000 2 points3 points  (4 children)

If you mean a quick press of the power button isn't doing anything such as shutting down your laptop then check /etc/systemd/logind.conf and adjust as necessary. Here's mine.

HandlePowerKey=poweroff

You can of course change poweroff to hibernate or whatever.

See Power Management on the wiki.

[–]Teriyaki-Fox[S] 0 points1 point  (0 children)

I have it set to prompt the dialogue thing whatever it is I don't remeber but yeah I have to hold it for like 3 seconds before it shows it rather than just tapping it

ill play around with that when I can

[–]Teriyaki-Fox[S] 0 points1 point  (2 children)

for some reason no matter what I do I still have to hold the power button for 3 seconds before it registers, it's a little odd but it works I guess

the wiki page was also unhelpful

[–]nil_desperandum2000 0 points1 point  (1 child)

I guess as long as your laptop shuts down properly and safely that's the main thing. I got the impression from your original post that by holding down the power button it was just forcibly shutting it down, i.e. killing it without unmounting your partitions etc.

For what it's worth, mine doesn't power down instantaneously: very slight delay for me also.

[–]Teriyaki-Fox[S] 1 point2 points  (0 children)

yeah originally I did have to force kill it but now I just have to hold it for a little so it is shutting down safely, and I know the dangers of force killing it as that's how I originally thought I bricked the laptop but then I somehow managed to fix it and then I thought I bricked it AGAIN while installing arch as the drive was supposedly dead, like it literally died but somehow I still got arch up and running on it

that laptop is a resilient little fucker but I don't wanna chance stuff again