Whining high-pitched sound while idling?

Mine makes a short high pitched buzzing sound whenever it wakes up from sleep. Otherwise it’s very silent. I think mine is the spin-up sound but maybe it’s coming from the power adapter. None of my internal or external drives make a sound like that when they spin-up.