public void Save() { if (hasBattery) { Directory.CreateDirectory(StoragePath); mbc.StoreRAMData(storageFile); } }