Power button not doing anything when in battery mode

I have read an article from the manjaro tutorial section talking about still being able to control some stuff with some “magical” special linux keyboard shortcuts. But I cannot get these to work at all for my laptop (lenovo ideapad).

Here’s the tutorial:

Here’s an overview of the “magical shortcut” stuff: