Languages

Menu
Sites
Language
Refusals from Valid Team - sleep mode or not on GearS2

I got from Valid Team:

Gear current consumption is too high on Sleep mode. [doze mode]     <Defect>
Gear current consumption is too high on Sleep mode. [doze mode]
- Tested application
Min current: 60.300mA, Average current: 198.964mA
- Samsung Gear standard current consumption
Min current: 4 mA, Average current: 7 mA

<Procedure>
1. Download and Execute application on Gear
2. Wait until device screen is off automatically without touch.
3. Wait untill application go to sleepmode
4. Check how much current was consumed and Wait 5 miniutes.

<Exepected result>
App's current consumption must be under standard current.

  and Video ( plz see it) from Valid Team.

 

In which mode becomes my app?

if:

1.  There was not  "Wait until device screen is off automatically without touch" and "Wait untill application go to sleepmode"

BUT was a  palm gesure.( see Video above)

2. When on Gear S2 we begin listening to music player and then do palm gesture ( see Video above) -  screen will be off but music NOT.

Because this is gesture just screen  off BUT NOT  on sleep mode.

Right?


If Right then why i need forced to make a sleep mode ( pause on ) when it is not provided?

Responses

9 Replies
Armaan-Ul- Islam

Hello,

Would you please share that is your application a music player ? or your application is not a music player rather it have a background music (like: theme) ? or something else ?

Kilim A

 No in my post above i speak about my game or another apps with sounds or music.

When i have wrote" When on Gear S2 we begin listening to music player and then do palm gesture ( see Video above) -  screen will be off but music NOT"

I mean   a  media player in Gear ( or through the phone Galaxy on Gear). If want
listen music on Gear and turn on Gear player with track and then do palm gesture  - screen will be off but  track will still on. It is  cause this is gesture  just sreen off but not a processes.

 And then i ask why i need forced to make a sleep mode ( pause on ) when it is not provided?

 

 You can test this test wgt file with background music

Kilim A

I update my answer to you, Armaan-UL-Islam, cause I can not edit post above.


I  have tested my wgt on real Gear S2 and I can say  following:

1. My  apps ( game.. entertainment)  is stopping go on pause on Gear S2 (2.3.1) when we do palm gesture ( see above) and screen off.

2. When we only  is listening music on Gear and turn on Gear player with track and then do palm gesture  - screen will be off but  track will still on.

Now I think  OS on wearable differentiates music on player and  other apps.

So my app work here properly.

 So I have another  question... Why my app was rejected  ( see first post).

If my apps is stoped and  go on pause when we do palm gesture -  it should consume little.

   Could you help ? Here wgt file with app ( rejected)

 

 

Kilim A

@could Web emulator help in this issue?@

I mean Web analyzator

Armaan-Ul- Islam

Please let me know :

a) When your application is stopped and goes on pause does the music/sound also stops or it carries on ??

b) Are you using any background services in your code ?

Kilim A

1. Yes, on real Gear S2 when we launch my app ( see link above), play and  make a palm gesture -  then screen off, music (sound too) stop and game go on pause.

2. May be yes, if this background service;

  when browser in gear is suspended or page of my game is not visible -  i stand timescale on 0 and deactivated some code ( group). ...and stand beta var to Beta(floor(Touch.Beta). It's all one time.

 Else i use power privilege  - my game  is device orientaion and without touch - screen will be off through 10 or 15 sec.

Kilim A

could Web emulator help in this issue?
 

Armaan-Ul- Islam

You stated you are using Power API. Would you please share all the functions of Power API you are using in your code.

Kilim A

Because the app  is device orientation:

If  sprite is moving beta and gama data ( OR AccelerationX With G), or sprite is shooting - screen will not  go sleep. ["tizen.power.request('SCREEN', 'SCREEN_NORMAL');"]
If the app on watch was left running then after 15 sec will be execute tizen power - screen light will be off [ "tizen.power.release('SCREEN')];"and will be pause  game until user  will touch watch screen  or will tilt the device  will be change beta and gama data ( OR AccelerationX With G).

For all those requests in code  - I use only one power privilege into config xml.