Bluetooth 4.0 is not recognized as Bluetooth smart

I am using
if (!beaconManager.hasBluetooth()) {
Toast.makeText(this, "Device does not have Bluetooth Low Energy",Toast.LENGTH_LONG).show();
works fine in some devices but shows the toast(Device does not have Bluetooth Low Energy) even though devices like <b>samsung duos s5282, Sony Xperia c2305</b> has bluetooth4.0 !!

Hi Sushma,

Please remember, that hardware support for Bluetooth Smart is not enough. The device also needs a software supporting BT Smart, which in case of Android, was first introduced in version 4.3.