So I think what you want to do is set the timeout on AC while you have AC plugged in from the kernel side.ĭiff -git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop. Depending on when you call it (if power supply is plugged in or not) will affect which one it uses. Now in the kernel with Ubuntu 18.04+ it has support to set both battery and AC timeouts. You would need to either unbind dell-smbios-wmi or unload it to cause libsmbios to fall back to dcdbas. However due to WMI command filtering it's not allowed to run. It also contains a newer libsmbios in the repositories that can set timesouts on AC and battery both properly.
The libsmbios in the repositories for Ubuntu 16.04 doesn't properly support timeouts on AC.
It might be necessary to press the fn (function) key at the same time to activate the backlight key.
If the backlight icon is not on the F5 key, look for the backlit keyboard key on the row of function keys. I didn't get a chance to comment on this more over the weekend but it's a bit of a more complicated scenario going on. To turn the keyboard backlight on or off, press the F5 key.