I need to report a reset reason and am required to differentiate brown-out reset and power-on-reset.
machine.reset_cause() seems to return only
0: SOFT_RESET
1: PWRON_RESET
2: HARD_RESET
3: WDT_RESET
4: DEEPSLEEP_RESET
Is there any way to tell brown-out?

Any comments will be very helpful to me.
Thanks in advance.