Already tried that, but thanks.Do you have any browser extensions in Safari?
If so, try disabling or removing them and see if it fixes the problem.
pmset -g assertions
pid 318(UserEventAgent): [0x00000139000b839b] 16:22:00 BackgroundTask named: "com.apple.safarishared.WBSParsecDSession.autoFillDataUpdate"
Created for PID: 606.
user 606 2.3 2.1 10650164 352424 ?? S 3:43PM 4:09.88 /Applications/Safari.app/Contents/MacOS/Safari
user 318 0.0 0.1 4434184 13980 ?? S 3:41PM 0:05.24 /usr/libexec/UserEventAgent (Aqua)