[HTC One X] JohnSparrow:
Hello

I have a problem with a battery drain since CM10.1 F5 or A6.

Today after flashing CM10.1_B1 I have installed only one app - Better Battery Stats (BBS). After one hour sleeping in airplane mode BBS show that 99.5% of this time phone was in deep sleep mode, and only 1.5% - in awake mode. I.e. all is ok.

But after sleeping approx. 32 min. in normal mode (with working GSM network) BBS shows the same thing as for previous CM 10.1 releases: phone is mainly in awake state due to some wakelock or wakeclocks:

Better Battery Stats dump file is here:

===================

General Information

===================

BetterBatteryStats version: 1.12.0.0RC7

Creation Date: 2013-02-17 15:50:20

Statistic Type: Unplugged to Current

Since 33 m 1 s

VERSION.RELEASE: 4.2.2

BRAND: htc_europe

DEVICE: endeavoru

MANUFACTURER: HTC

MODEL: HTC One X

OS.VERSION: 3.1.10-cyanogenmod+

BOOTLOADER: 1.36.0000

HARDWARE: endeavoru

FINGERPRINT: htc_europe/endeavoru/endeavoru:4.1.1/JRO03C/128187.31:user/release-keys

ID: JDQ39

TAGS: test-keys

USER: pali

PRODUCT: endeavoru

RADIO: 5.1204.162.29

Rooted: true

============

Battery Info

============

Level lost [%]: 5 Bat.: 5% (71% to 66%) [9,1%/h]

Voltage lost [mV]: 72 (3886-3814) [130,9%/h]

===========

Other Usage

===========

Deep Sleep (): 8 m 42 s (522 s) Ratio: 26,4%

Awake (): 24 m 19 s (1459 s) Ratio: 73,6%

Screen On (): 1 m 33 s (93 s) Ratio: 4,7%

No Data Connection (): 33 m 1 s (1981 s) Ratio: 100,0%

No or Unknown Signal (): 33 m 1 s (1981 s) Ratio: 100,0%

Screen dimmed (): 14 s (14 s) Ratio: 0,7%

Screen medium (): 1 m 19 s (79 s) Ratio: 4,0%

=========

Wakelocks

=========

AlarmManager (РўРµР»РµС„РѕРЅ): 11 m 31 s (691 s) Count:230 10,9%

RILJ (РўРµР»РµС„РѕРЅ): 2 m 43 s (163 s) Count:443 8,3%

AudioOut_3 (1013): 15 s (15 s) Count:5 0,8%

GpsLocationProvider (РЎРёСЃС‚РµРјР° Android): 13 s (13 s) Count:483 0,2%

Checkin Service (РЎР»СѓР¶Р±С‹ Google): 8 s (8 s) Count:458 0,1%

ActivityManager-Launch (РЎРёСЃС‚РµРјР° Android): 3 s (3 s) Count:233 0,2%

AlarmManager (РЎРёСЃС‚РµРјР° Android): 2 s (2 s) Count:576 0,0%

Checkin Handoff (РЎР»СѓР¶Р±С‹ Google): 2 s (2 s) Count:229 0,0%

BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats_xdaedition.BetterBatteryStats): 2 s (2 s) Count:9 0,1%

NetworkStats (РЎРёСЃС‚РµРјР° Android): 1 s (1 s) Count:236 0,0%

================

Kernel Wakelocks

================

"PowerManagerService" (): 14 m 28 s (868 s) Cnt:(c/wc/ec)635/0/0 43,8%

"baseband_xmm_power" (): 7 m 24 s (444 s) Cnt:(c/wc/ec)237/0/236 22,4%

"radio-interface" (): 3 m 23 s (203 s) Cnt:(c/wc/ec)220/0/0 10,3%

"alarm_rtc" (): 2 m 59 s (179 s) Cnt:(c/wc/ec)204/199/130 9,1%

"alarm" (): 4 s (4 s) Cnt:(c/wc/ec)259/4/0 0,2%

"pn544" (): 2 s (2 s) Cnt:(c/wc/ec)2/0/2 0,1%

"KeyEvents" (): (0 s) Cnt:(c/wc/ec)952/0/0 0,0%

"PowerManagerService.Broadcasts" (): (0 s) Cnt:(c/wc/ec)2/0/0 0,0%

"event5-538" (system, com.android.providers.applications, com.android.providers.contacts, com.android.providers.userdictionary, com.google.android.googlequicksearchbox): (0 s) Cnt:(c/wc/ec)1/0/0 0,0%

"event1-538" (system, com.android.vending, com.android.settings): (0 s) Cnt:(c/wc/ec)10/0/0 0,0%

======================

Alarms (requires root)

======================

======================

Network (requires root)

======================

==========

CPU States

==========

51 MHz (): 10 m 3 s 30,5%

102 MHz (): 1 s 0,1%

204 MHz (): 1 s 0,1%

340 MHz (): 9 m 30 s 28,8%

475 MHz (): 2 m 39 s 8,1%

640 MHz (): 1 m 32 s 4,7%

760 MHz (): 7 s 0,4%

860 MHz (): 4 s 0,2%

1 GHz (): 12 s 0,6%

1,1 GHz (): 0,0%

1,2 GHz (): 0,0%

1,3 GHz (): 1 s 0,1%

1,4 GHz (): 0,0%

1,5 GHz (): 4 s 0,2%

Deep Sleep (): 8 m 42 s 26,3%

==================

Reference overview

==================

Custom: Reference ref_custom created 1 h 13 m 23 s (Wl: 6 elements; KWl: 11elements; NetS: null; Alrm: null; Proc: 1 elements; Oth: 8 elements; CPU: 15 elements)

Since charged: null

Since screen off: null

Since unplugged: Reference ref_unplugged created 1 h 13 m 14 s (Wl: 5 elements; KWl: 11elements; NetS: null; Alrm: null; Proc: 1 elements; Oth: 8 elements; CPU: 15 elements)

Since boot: Reference ref_boot created 25 s (Wl: 0 elements; KWl: 0elements; NetS: null; Alrm: null; Proc: 0 elements; Oth: 0 elements; CPU: 11 elements)

If respectable developer of this ROM or someone else knows something about this problem or methods to solve it, I would be very thankful. CM 10.1 in its B1 variant is really great so I don't want to change it.

-------------------

And one problem, rather secondary. When I change mode in Camera app from Photo to Video & default video recording resolution is set to 720p, image in camera app is looking stretched vertically (& recordered video too). If I change video recording resolution to 1080p, image & recorder video returns to normal (i.e. without stretching). If I change resolution (while Camera in video mode) back from 1080p to 720p, all looks fine too.

But if I change to vodeo from photo while res = 720p, stretching bug returns again.

Have anyone faced with this problem?

-------------------

Device:

ENDEAVORU PVT SHIP S-ON RL

HBOOT: 1.36.0000

CPLD: none

MICROP: none

RADIO: 5.1204.162.29

eMMC-bootmode: disabled

CPU-bootmode: disabled

HW Secure boot: enabled

MODEM PATH : OFF

CID: CID__044