Added calculating capacity info in Cmode

Change-Id: I02036081e5737bd7b4f11a3fd478acce431c069c
Closes-Bug: 1335113
Merge "Added calculating capacity info in Cmode"