made a simple command to change my power mode to "balanced-performance" (lenovolegion power mode for custom mode), works fine in terminal and running the file, but when listing it as a script in power management for when AC power is plugged in, i get this.
org.kde.powerdevil: Failed to run "/home/bombyb/custom.sh" the contents of the script is this:
echo balanced-performance | sudo tee /sys/firmware/acpi/platform_profile not experienced at all with stuff like this so help would be greatly appreciated, thanks