Keyboard and power button lighting on when shut down?

Which Linux distro are you using? Ubuntu 26.04 lts, GNOME 50.1

Which release version? lts
(if rolling release without a release version, skip this question)

(If rolling release, last date updated?)

Which kernel are you using? 7 +

Which BIOS version are you using? not sure, newb

Which Framework Laptop 13 model are you using? Intel® Core™ Ultra Series 1

New to Framework/Linux after > 4 decades Mac. Just noticed today, I shut down Framework last night and now about 18 hours later I see the keyboard backlighting is on and won’t adjust with fn-spacebar (lid is open). Also the power button light is still on full bright (doesn’t seem to dim with display or keyboard backlight setting whether shut down or in use) and the led on the usb-c expansion card is a greenish white.

Is that all normal or have I done something wrong, or are there settings for this? I would have expected perhaps only the LED for charging status to be on (it changes color depending on charging level?) when shut down.

Are the lights designed to extinguish when shut down and the lid is closed? Or is that like asking if a falling tree makes a sound in the forest when there is no one to hear it…

I have the same issue with Fedora 44 and GNOME, but the same Intel Core Ultra Series 1.

When the power button lights after shutting down, I press it for 5 to 10 second to see it shut off too.
I was thinking the laptop did not really shut down.

I was thinking similar, along the lines it was actually asleep, but even then I would also expect the backlighting to be off, and I did unintentionally tap some keyboard keys in passing and that would ordinarily bring a suspended device to the login screen, which didn’t happen.

Interesting. Is there a Terminal command or something that would list recent events with time-date ie when it was suspended or shut down etc?

In the terminal, you can use the following to see if it was suspended:

journalctl -b -1 | grep -E “PM: suspend|Low-power S0|Suspending|ACPI: Low-level resume|Starting.*Resume”

You can generally use the following to get the full log but it’s better to use the one above to filter out what you want to see. (I use CTRL+C to get out of it.)

journalctl -b -1

And you can use this to see the logs of the system boot:

last reboot

Also I would check ‘Settings > Power > Power Button Behavior’ and see if it’s set to ‘Power Off’ or not. Although when the power button light is breathing, when you press it (even if set to ‘Power Off’) it will trigger it on from sleep unless hold the power button down until the light is off.

Also to check the bios version, use:

sudo dmidecode -s bios-version

Or (if you don’t want to use sudo):

cat /sys/class/dmi/id/bios_version

And for linux kernel (which should be 6.1x if on Ubuntu 26.04… not 7+), use:

uname -r

Excellent, @M_Mothersole I will try those out most likely Weds!

Thank you @M_Mothersole , I had looked in the system settings app and didn’t find it. Seems kind of odd (as a newb) that it wouldn’t be in there.

Apparently they took it out in 26.04 version. You can get around this by running in the terminal:

gsettings get org.gnome.settings-daemon.plugins.power power-button-action

If it’s set to ‘interactive’ then that’s the power off/restart option.

03.07 was the result for bios. The same number appears in Settings > System > System Details > Software Information column, first item “Firmware Version”. So I take it that’s the same thing.

7.0.0-28-generic was the kernal result.

The commands in your post about suspending and booting etc were not recognized, is there a prefix character I need to enter?

1 Like

The gsettings command indicates the button action is ‘suspend’ though yes I would like an interactive option. The only options in Settings are Suspend/Power Off/Nothing.

So as an update… As the Power button and keyboard lights were on and lid open, I closed the lid with the power cord attached. I figured that it would charge and be ready for next use.

Next day I removed the power cable, set the laptop near the sofa and it was there (presumably charged and shut down) for about 36 hours.

When I opened it to boot it, the power button light was pulsing, keyboard backlighting on, and the screen came on with slight flickering and there was some crackling sounds and the display said to connect to power within 10 seconds.

Plugged it in, and did something else, came back after about an hour and it was still only at 2% charged but booted and I’m now using it.

I don’t recall if all this happened after I was using the Rhythbox app (I posted about it in and Ubuntu Community Discourse), but it might be.

I was really enthusiastic about moving most activity to Linux but these kind of things are frustrating, along with there not being any hardware instructions provided by Framework to explain simple things like behavior of the various lights, operation of trackpad, keyboard symbols and so on.

The user interface is modern and what I’m used to but this learning process is kind of like decades ago when I started computing.

My bad… my source was wrong, apparently there is a 7+ kernel for 26.04.

As for prefix characters, there shouldn’t be… you can throw in a ‘sudo’ and see if it runs but it would be odd if you need to do that. You shouldn’t need to install anything either because it should be preinstalled in your ‘systemd’. Does it say it’s not installed? I would run the output through ChatGPT and see what they come up with as to why you’re not getting an output. It might have you run some scripts to make sure your install is not missing anything.

As for changing the power button to ‘interactive’… run:

gsettings set org.gnome.settings-daemon.plugins.power power-button-action ‘interactive’

Then run the first gsettings script to make sure that it’s been set appropriately.

Sometimes when I plug in the cable, the light on the side doesn’t initially light on indicating that it connected and I have to replug it in. Assuming this isn’t the issue for you and that the light on the side does light up, I would contact FW’s customer support about the issue.

I want to let you know that these are not common issues with Framework or Linux. Yeah for me the battery does drain 20% overnight (before switching to s3 deep sleep, it was draining 35% overnight) but that’s the only issue I’ve had the last 5 years of using Ubuntu 24.04 on a FW13. I haven’t upgraded to 26.04 due to compatibility with some of the software I use regularly. But I checked and the scripts I suggested should run on 26.04.

Thanks! With and without sudo before the command, the response was

The provided value is outside of the valid range

I visit a local Linux group about once a month and the guys there are always suprised by the need for the sudo prefix need. It has been the same with an Intel Macbook Air I tried at first and with this Framework laptop.

Only slowly am I learning more about Terminal and its commands, sometimes I read a bit and get technically overwhelmed and move to something else.

Was that for the journalctl, last reboot or the gsettings script?

Correct, there are lights but no explanation what they mean, ie now charging shows 82% and the light is orange.

I suppose I’ll get more in the habit of shutting down regularly and plugging into power, alternating expansion plugs and see how it goes.

My MacBook Air, I just let it run for long time between reboots. I put it to sleep and it uses almost no power, wakes up promptly and when I do reboot it, it can reboot with all apps as they were before. Seems with this laptop/26.04, shutting down shuts down the apps too but when you relaunch them they generally re-appear the same.

I read the built-in Help, and there’s little from Framework so learning is going slow. I do have a couple of Ubuntu tabs open, maybe these things are in there. I should also look if GNOME has a Discourse community as well.

Thanks again for the help!

sorry, the gsettings command

Run the following to see what the options are… maybe there’s no ‘interactive’ option anymore:

gsettings range org.gnome.settings-daemon.plugins.power power-button-action

comes back

gsettings range org.gnome.settings-daemon.plugins.power power-button-action

enum
‘nothing’
‘suspend’
‘hibernate’
‘interactive’

Which seems odd, that different options appear in the Settings Power Butotn popup.

And what is the difference between suspend and hibernate, sounds same to a newb, and Power Off is a popup option but not in this list (enum=enumeration?)

Hmm… so there is an ‘interactive’ option. Did you copy the command and paste it (you’ll have to use a secondary click and toggle paste instead of ctrl + v)? If you used double quotes " instead of single quotes ’ it could come with that output.

Also I’ve gotten in the habit of running this regularly to make sure that everything stays up to date (it will tell you what to do if there’s some packages that needs to be installed):

sudo apt update

So ‘suspend’ is an s2/s3 sleep state (depending what you set it to, s3 is deep sleep state) which means that if the charge gets depleted, you’ll lose your session. ‘Hibernate’ is an s4 sleep state so will be technically powered off but you’ll have your session written to the disk so if the charge depletes, your session will be saved still.

(And yes, enum is for enumeration or enumerated type.)