SCardDisconnect(): change powerState to POWER_STATE_GRACE_PERIOD only if the previous state was POWER_STATE_INUSE
SCardDisconnect(): change powerState to POWER_STATE_GRACE_PERIOD only if
the previous state was POWER_STATE_INUSE

If the powerState was POWER_STATE_UNPOWERED then do NOT change to
POWER_STATE_GRACE_PERIOD. POWER_STATE_GRACE_PERIOD indicates that the
card is powered on. That is the case if mode is SCARD_SHARE_DIRECT at
SCardConnect() 


git-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@5402 0ce88b0d-b2fd-0310-8134-9614164e65ea

vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android