Merge pull request #190 from jacobchen/next

TDIS-4446, changed the density of every device to 316 PPI.
[bug fix] N_SE-29549, Check if the input value of AvailableCapacity > Capacity, set the value to same as capacity.