Languages

Menu
Sites
Language
Use Dynamic Analyzer on real device ?

Hi,

I build a watch face from a native tizen project for Gear S2.
After submitting to store it was rejected with the following cause:

<Defect>
Gear application's current consumption is so high on sleep mode.
- Tested application
Min current: 12.800 mA, Average current: 30.458 mA
- Samsung Gear standard current consumption
Min current: 4 mA, Average current: 7 mA

 

So I tried to run Dynamic Analyzer with the "Profile As..." option from the SDK (2.4Rev5).
But I always got an error: "Selected application cannot be traced due to security reason"

This also happens to each app I tried to analyze.

Is it even possible to use Dynamic Analyzer on a real device or is it just a "useless" tool for the emulator? And how do they analyze the power consumtion of apps on store testing process?

Regards

Responses

2 Replies
daniel kim

Hi,

I could use Dynamic Analyzer for watchface of Gear S2 on Tizen SDK 2.4 Rev5.

Below is  config of tizen-manifest.xml.

<manifest xmlns="http://tizen.org/ns/packages" package="org.example.watchfacegears2" api-version="2.3.1" version="1.0.0">
 <profile name="wearable" />
 <watch-application appid="org.example.watchfacegears2" exec="watchfacegears2" ambient-support="true">
  <icon>watchfacegears2.png</icon>
  <label>watchfacegears2</label>
 </watch-application>
 <privileges>
  <privilege>http://tizen.org/privilege/alarm.set</privilege>
 </privileges>
</manifest>

Regards

Stephan König

OK, it seems you can only trace in "debug" profile. 
I tired to trace a release build...

But the strange thing is that my watch-face seems not to be the source of the "high" power consumption
As you can see in the attached picture my app only used some power on startup and then almost nothing in idle mode when screen is off. I didn't even support ambient mode. 

https://www.dropbox.com/s/tp0s8f4tksuwlry/profile.png?dl=0

Also the "store tester" seems to use an Android App to measure  power consumption, but it didn't show what needs the power, only an overall value...

https://www.dropbox.com/s/xm7vttt2l6bslxk/2_Screenshot_2016-04-07-15-45-30.png?dl=0

 

I switched the watch-face during analyzing to a default one, but the power consumption didn't change at all. 
So far the dynamic analyzer needs some power for its own, but why  do they say my watch-face need that much power ?

 

Regards