On UC20, after having set
power-key-action, reboot does when I press the power key. In fact it shuts down gracefully.
# snap get system power-key-action reboot
Any idea what config file this actually changes, or how it’s implemented. If I can dig into it, I may be able to work out why, and potentially file a bug.