Hello,
I also have considerable problems with the Quad RGB sensor.
Unfortunately, my battery is weakening after less than two and a half years, and even when the robot is not switched on, the symbolized battery in the display only shows two bars after approx. 18 hours.
The RGB sensor then only delivers incorrect values. I checked this with the following small program:
When the battery is fully charged, the values are OK.
Unfortunately, the battery cannot be replaced as it is probably soldered. I would have to buy a new shield for about 75 euros. And this is not available from stock from any dealer in Germany but has to be ordered from the manufacturer. Delivery time unknown.
I am very much considering whether to say goodbye to the mBot for good and switch to fischertechnik.
Translated with www.DeepL.com/Translator (free version)