Use adb commands
adb shell settings put system peak_refresh_rate 96.0 adb shell settings put system min_refresh_rate 96.0
But should be easier on battery
To revert back, just click on 60hz or 120hz in settings.
Do this on you own risk. I am NOT responsible for any damage this causes.
Edit: it seems that you have to manually revert by setting 120 and 60 through adb..