Yes, Resources algorithm is complete nonsense. On my Race S, it is affected by battery charging, as if it measures battery stress. 🧐
After charging the battery in the morning, the resources would decline in red over the whole day! Now I only charge at night before sleep, so this way I only get one or two bars of red, because sleep phase seems to not be affected by this phenomena.