The SD card status can be retrieved with Camera Settings API /cameras/{CAMID}/memory_card/. It will return the SD card size, the amount of available space, and the current status:
-
'none' - the card is not installed;
-
'normal' - card's health is OK;
-
'need-format' - the card must be formatted to become usable;
-
'formatting' - formatting is in progress;
-
'initialization' - preparation of a memory card for reading and writing