MKRFOX1200 read battery voltage

Anyone got a solution to reliably read the battery voltage on a MKRFOX1200?
It is a must-have feature for my project.