Is the main beam working OK? And how is the battery voltage?
If both lights behave the same, I would look for a common component, possibly water ingress into the ECU / Front SAM or the wiring loom. You'll need to check for fault codes using STAR (or iCarsoft).