[Android One (First-Generation) Cross-Device Origin] psiknight99:
Thanks for helping me out Rohit. This is the log I got and would appreciate your help.

POWER MANAGER (dumpsys power)

Power Manager State:

mDirty=0x0

mWakefulness=Awake

mWakefulnessChanging=false

mIsPowered=false

mPlugType=0

mBatteryLevel=12

mBatteryLevelWhenDreamStarted=0

mDockState=0

mStayOn=false

mProximityPositive=false

mBootCompleted=true

mSystemReady=true

mHalAutoSuspendModeEnabled=false

mHalInteractiveModeEnabled=true

mWakeLockSummary=0x0

mUserActivitySummary=0x1

mRequestWaitForNegativeProximity=false

mSandmanScheduled=false

mSandmanSummoned=false

mLowPowerModeEnabled=false

mBatteryLevelLow=true

mDeviceIdleMode=false

mDeviceIdleWhitelist=[10012]

mDeviceIdleTempWhitelist=[]

mLastWakeTime=15419355 (219320 ms ago)

mLastSleepTime=15190246 (448429 ms ago)

mLastUserActivityTime=15638532 (143 ms ago)

mLastUserActivityTimeNoChangeLights=12492388 (3146287 ms ago)

mLastInteractivePowerHintTime=15638532 (144 ms ago)

mLastScreenBrightnessBoostTime=0 (15638676 ms ago)

mScreenBrightnessBoostInProgress=false

mDisplayReady=true

mHoldingWakeLockSuspendBlocker=false

mHoldingDisplaySuspendBlocker=true

Settings and Configuration:

mDecoupleHalAutoSuspendModeFromDisplayConfig=false

mDecoupleHalInteractiveModeFromDisplayConfig=false

mWakeUpWhenPluggedOrUnpluggedConfig=true

mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false

mTheaterModeEnabled=false

mSuspendWhenScreenOffDueToProximityConfig=false

mDreamsSupportedConfig=true

mDreamsEnabledByDefaultConfig=true

mDreamsActivatedOnSleepByDefaultConfig=false

mDreamsActivatedOnDockByDefaultConfig=true

mDreamsEnabledOnBatteryConfig=false

mDreamsBatteryLevelMinimumWhenPoweredConfig=-1

mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15

mDreamsBatteryLevelDrainCutoffConfig=5

mDreamsEnabledSetting=true

mDreamsActivateOnSleepSetting=false

mDreamsActivateOnDockSetting=true

mDozeAfterScreenOffConfig=false

mLowPowerModeSetting=false

mAutoLowPowerModeConfigured=false

mAutoLowPowerModeSnoozing=false

mMinimumScreenOffTimeoutConfig=10000

mMaximumScreenDimDurationConfig=7000

mMaximumScreenDimRatioConfig=0.20000005

mScreenOffTimeoutSetting=60000

mSleepTimeoutSetting=-1

mMaximumScreenOffTimeoutFromDeviceAdmin=2147483647 (enforced=false)

mStayOnWhilePluggedInSetting=0

mScreenBrightnessSetting=39

mScreenAutoBrightnessAdjustmentSetting=0.0

mScreenBrightnessModeSetting=0

mScreenBrightnessOverrideFromWindowManager=-1

mUserActivityTimeoutOverrideFromWindowManager=-1

mTemporaryScreenBrightnessSettingOverride=-1

mTemporaryScreenAutoBrightnessAdjustmentSettingOverride=NaN

mDozeScreenStateOverrideFromDreamManager=0

mDozeScreenBrightnessOverrideFromDreamManager=-1

mScreenBrightnessSettingMinimum=10

mScreenBrightnessSettingMaximum=255

mScreenBrightnessSettingDefault=102

mDoubleTapWakeEnabled=false

Sleep timeout: -1 ms

Screen off timeout: 60000 ms

Screen dim duration: 7000 ms

UID states:

UID 1000: 0

UID 1001: 0

UID 1037: 16

UID 2000: 16

UID u0a0: 0

UID u0a4: 16

UID u0a7: 16

UID u0a9: 10

UID u0a12: 6

UID u0a18: 0

UID u0a19: 16

UID u0a20: 12

UID u0a25: 16

UID u0a26: 16

UID u0a38: 16

UID u0a41: 10

UID u0a47: 16

UID u0a50: 16

UID u0a59: 16

UID u0a60: 3

UID u0a65: 6

UID u0a74: 10

UID u0a75: 14

UID u0a76: 14

UID u0a77: 16

UID u0a82: 3

UID u0a85: 2

UID u0a105: 16

UID u0i18: 15

Wake Locks: size=0

Suspend Blockers: size=4

PowerManagerService.WakeLocks: ref count=0

PowerManagerService.Display: ref count=1

PowerManagerService.Broadcasts: ref count=0

PowerManagerService.WirelessChargerDetector: ref count=0

Display Power: state=ON

Wireless Charger Detector State:

mGravitySensor={Sensor name="Gravity Sensor", vendor="AOSP", version=3, type=9, maxRange=19.6133, resolution=0.00390625, power=6.48, minDelay=10000}

mPoweredWirelessly=false

mAtRest=false

mRestX=0.0, mRestY=0.0, mRestZ=0.0

mDetectionInProgress=false

mDetectionStartTime=0 (never)

mMustUpdateRestPosition=false

mTotalSamples=0

mMovingSamples=0

mFirstSampleX=0.0, mFirstSampleY=0.0, mFirstSampleZ=0.0

mLastSampleX=0.0, mLastSampleY=0.0, mLastSampleZ=0.0