Clear Oil Change Indicator (with aftermarket radio)

2015 Mazda 6 Touring (w Bose)

I am running a Pioneer AVH-W4500NEX head unit in my 2015 Mazda 6 Touring (with Bose). The instructions for cleaning the oil life indicator say this is done via the stock head unit. That isnt a convenient option for me.

Is it a code I can clear with an OBD2 scanner? Or should I just disconnect the battery for a few minutes after an oil change?