When my pc is not running anything at all it starts as temperature around 40C, CPU clock speed under 700MHz and CPU voltage around 1.1. After 10 minutes of not moving the mouse CPU Clock Speed goes 4600, CPU voltage goes 1.4 and temperature goes 55C. According to task manager no new process started. As soon as I move the mouse then everything goes back to starting idle numbers. My power profile is Balanced and I have automatic sleep turned off. PBO is on automatic. Any ideas?
It's normal as there are a lot of background tasks windows runs...just look at task manager you'll see. My system's running 130 processes right now with just Firefox open.
One or more may ask for attention at any time (as when moving the mouse, especially if over an active component in the browser to make a tooltip pop up or similar). When that happens Ryzen boosts a core to max clocks to get it complete and back to idle to save power. With a lot of processes running it's highly likely something's going to happen and there's always a core to boost when it does.
It's just the way Ryzen works, AMD calls it a "rush to idle" strategy to power management. It appears to work well because the processors are impressively efficient even when working at maximum output.
Another thing to be aware of is Ryzen reports a 'hot spot' temperature. It's the hottest spot on the die at any moment and there are several dozen temp sensors. It will 'spike' as a core boosts but it's one tiny spot on the die so not really thermally significant all on its own. Look for the CPU Die(average) temperature reading found in HWInfo64 to get a better idea of the CPU's overall thermal state.
As more cores start boosting and pipelines stay full for sustained processing of heavier loads the average temp will rise. That's when boost clocks will be pulled back and voltage lowered by the algorithm. If cooling is really good it won't lower so much because average temp won't rise so much but there's not much you can do about the temp 'spikes' as it boosts from idle.