Enabled and disabled tlp via systemctl. Check changes in battery runtime (between enabled and disabled).
Added config to set battery charging threshold in /etc/tlp.d/ and verified that it was enabled bi tlp-stat -b (after systemctl restart)
Seem a bit redundant to patch and to sed the config. Maybe one or the other? The main reason we used sed was to avoid having to rebase a config patch. Or maybe neighter? If we are overriding that much of the default config, it might just make sense to have our own tlp.conf in files/ that gets installed over the default tlp.conf.
Only use patch for changing/enabling options inside tlp.conf. I think shipping a tlp.conf via files is not a good option. By doing so we could miss adding upcoming features in next releases. By using a patch they are at least available in the config (even if disabled by default). So they can be activated by the users more easily.