Energy is consumed by using tools, fishing, combat or eating negative energy food. It can be replenished by eating food or standing in the Spa. If the player is exhausted, restoration effects are cut in half. Eating a Stardrop will permanently increase maximum energy by 34 points.
The player gets the exhausted debuff when their energy drops at 0 or below. At this point, they are unable to run. Eating something will make them able to run again, but the energy recovery debuff will persist through the day. Persisting in energy consuming activities will make them pass out, ending the day.
To consume food, put it on the hotbar and right-click it. A notification in the bottom left of the screen will display energy and health gained by eating food. Typically, more expensive food will provide more energy than cheaper food items.
Sleeping at the end of the day will fully restore the player's energy bar. If the player passes out or is exhausted when they go to bed, they'll wake up in the morning with less than 100% energy (roughly 50% - 75% energy). If the player passes out and is found by a Joja Team Member, a medical team will be summoned and the player will be charged 1,000g for the service.