Issue with systemd service not running at boot.
[Unit]
Description=Set EPP to Balance Power, Minimum CPU Frequency to 400 MHz.
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c 'echo "balance_power" | tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference'
ExecStart=/usr/bin/bash -c "echo '400000' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq"
[Install]
WantedBy=multi-user.target reboot.target hibernate.target hybrid-sleep.target sleep.target suspend-then-hibernate.target suspend.targetI can start it manually or start it by suspending after rebooting but it doesn't start on boot. I read there is a TuneD service running in bazzite which messes with CPU power settings. Could this be the reason why this systemd service doesn't start on boot?
My hardware is LCD Steam Deck running Bazzite Deck edition on Testing branch.
Solution
Fixed. Just need to disable tuned systemd service (along with tuned.PPD) and the service starts on boot.
I guess there was a conflict between the two as both seem to modify CPU settings.
I guess there was a conflict between the two as both seem to modify CPU settings.