How to always suspend-then-hibernate instead of suspend

My goal is to always suspend-then-hibernate system-wide bc I don’t use this laptop often and don’t want it to run out of battery all the time.

I figured out a way to achieve this and wanted to share. Lmk if anyone thinks it’s a bad idea!

Approach 1: Overides the ExecStart value to suspend-then-hibernate

sudo mkdir /etc/systemd/system/systemd-suspend.service.d
print "[Service]\nExecStart=\nExecStart=/usr/lib/systemd/systemd-sleep suspend-then-hibernate" | sudo tee /etc/systemd/system/systemd-suspend.service.d/override.conf > /dev/null
sudo systemctl daemon-reload

Approach 2: symlink

ln -s /usr/lib/systemd/system/systemd-suspend-then-hibernate.service /etc/systemd/system/systemd-suspend.service

Approach 2 is the same thing as systemctl enable systemd-suspend-then-hibernate (this will create symlink too)

This is not possible since there is no “install” section in the systemd-suspend-then-hiberate.service file.