Visit a volvo dealer and let them check for software updates. Most times it's caused by a combination of old/degraded batterie (new batteries can sometimes also be overmatured or degraded by wrong/to long storage) and a software bug. You can also try to charge your batterie with an AGM compatible charger (positive cable directly at the positive terminal of the batterie and negative cable to the chassis or engine). After it's fully charged, keep the car locked for at least 4 hours.