I had this failure recently, coupled with the turtle icon and reduced acceleration warning and no A/C. After a week in the shop and feedback from Volvo, it was determined that the control module for one of the cells in the battery was going bad, not the battery itself, so that was replaced relatively quickly and I'm back in business (for now). Across ownership of a '16 and a '17 XC90 for twelve months total, each has been in the shop for over three weeks (1.5 months total) with multiple mechanical issues, electrical issues, software issues, and rattles/vibrations, not to mention recalls and other TJ fixes. Only been towed once, but frankly it could have been several times but I ignored warnings and drove it in.
This is my first Volvo, and likely my last if this keeps up.