No Auto Sleep Unless Necessary

I found it highly annoying that Sims would sleep for three hours or more after they had a full energy motive. They would also do this frequently after a bed woohoo, even though they were full energy.

This mod improves on this behavior (but doesn't solve it completely due to Sims 4 game scripts).

Functionality
Sims won't sleep for more than 30 minutes after a bed woohoo (if at all in most cases) when full energy
Sims won't sleep for more than 30 minutes after reaching full energy motive after a nights sleep (Sims will wake up sooner)
Sims won't sleep nearly as often when they aren't low on energy motive
Sims won't be forced to sleep if they have been up for more than 24 hours yet still have a high energy motive

Full Motives Version
Has the same features as above but Sims will wake up fully refreshed with max motives.

If you want a mod that prevents autonomous napping then use No Autonomous Napping on this site.

Potential Conflicts
Mods that edit the above resources.
Mods that edit sleep and sleep behavior including single and double bed interaction tuning.MC Woohoo - Sleepy Woohoo feature (enabled) - feature must be disabled to not conflict.Sleep All Night by LittleMsSam

Additional Credits:
s4pe
XML Extractor
Notepad++

Key: - File was updated after upload was posted

Filename - Tip: You can click the magnifying glass to see the archive contents