maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Situations app - bugs, questions, answers, help etc.. (https://talk.maemo.org/showthread.php?t=94442)

hhaveri 2015-01-14 05:55

Re: Situations app - bugs, questions, answers, help etc..
 
Thanks for the report! I'm working on improved BT detection - current version does only detect direct scan results.

Br,
Heikki

LVPVS 2015-01-14 10:09

Re: Situations app - bugs, questions, answers, help etc..
 
Hej,


Now, that explains it. Thanks for the heads-up! :)
While waiting for the improved BT 'When', I simply disable the Situation using it.

The latest version of Situations works like a charm, by the way! :)


Thank you,

LVPVS out

LVPVS 2015-01-15 19:07

Re: Situations app - bugs, questions, answers, help etc..
 
Hej,

I noticed also that Bluetooth audio does not trigger no situaton when 'Audio' is set as 'When'.
It would be cool, though...

Kiitos,

LVPVS out.

rob_kouw 2015-01-15 21:07

Re: Situations app - bugs, questions, answers, help etc..
 
I was wondering: will Situations consume a lot of battery? I'm using Schturman's Auto-profile changer now, so there's only a check on time running. Situations based on wifi, bluetooth, cell could possibly cause more battery use?
Thanks!

hhaveri 2015-01-15 21:22

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by rob_kouw (Post 1456791)
I was wondering: will Situations consume a lot of battery? I'm using Schturman's Auto-profile changer now, so there's only a check on time running. Situations based on wifi, bluetooth, cell could possibly cause more battery use?
Thanks!

WiFi and Bluetooth are currently based on scanning the available networks / devices on 1 minute interval. So in general, they do increase power consumption to some degree. WiFi scanning in general is quite efficient however and BT will be improved at least for paired devices in the future. And in some distant future I might introduce an option to adjust the scanning interval and/or to make both conditions fully reactive, which should help the power consumption in some cases.

Cell condition does not really cause any increase since it is not based on polling. Same goes for Time, Accessory & Battery.

Hope this helps.

EDIT: Also worth noting is that if you combine for example Time condition with WiFi, then WiFi scanning happens only while the Time condition is active. So that way it is possible to limit the impact on battery.

hhaveri 2015-01-20 09:46

Re: Situations app - bugs, questions, answers, help etc..
 
Jolla Store mobile interface seems to clip the changelog, so putting it also here (at least this time):

* Tue Jan 20 2015 2.4.48
- Improved Bluetooth detection
- Improved Launch action application list ordering
- Improved use of wakeup timers
- Tapping notification now launches the UI
- Fixed notification localisation
- Fixed behavior over application restart
- Further updates to EULA allowing multiple installations

* Thu Jan 8 2015 2.4.46
- Fix user reported problems mainly related to notifications, power consumption (high cpu) and reliability
- Improved notifications by showing up-to-date data with rapid changes
- Small update to EULA allowing multiple installations

* Mon Dec 22 2014 2.4.42
- Initial version for Sailfish

EDIT: Any further feedback on the bluetooth functionality is welcome as I have very limited testing capability. Especially it would be useful to know if BT headset works as an audio accessory now (with Accessory condition).

LVPVS 2015-01-20 11:59

Re: Situations app - bugs, questions, answers, help etc..
 
Hej,


@hhaveri Thank you very much!

The new version is working like a charm.
It now detects already paired Bluetooth devices.
It also detects Bluetooth headset/headphones as audio accessory. (This way I can differentiate two different Situations in my car: One for hands free, the other for music streaming. Depending on the need.)

I explicitly tested what you asked for in your 'EDIT' with my Nokia J and a Sandberg Bluetooth headset/headphones. Both triggers a Situation as audio accessory, just like the wired headset.


Kiitos,

LVPVS out

LVPVS 2015-01-21 11:02

Re: Situations app - bugs, questions, answers, help etc..
 
Hej,


Bluetooth-triggered Situations are working like a charm, however; as I noticed they had a huge impact on battery usage. The more BT devices to check the more load it presents.

With CSD tool I saw 50-100 mA increases in average.

I am now using "Audio Accessory" as a trigger instead of BT.


Kiitos,

LVPVS out

hhaveri 2015-01-22 06:50

Re: Situations app - bugs, questions, answers, help etc..
 
Yes, Bluetooth condition can be a real power hog depending on environment and if used without any other limiting conditions.

Another thing to announce here: Found a bug from the Mobile Data plugin that may crash the app when mobile network is not / has not been in use (at least after sim-less reboot). So it is recommended to update the plugin. Visiting Features page and restarting the app should do it.

minimos 2015-01-22 06:53

Re: Situations app - bugs, questions, answers, help etc..
 
Question: let's say that I set to have e.g. the timeframe 23:00-06:00 (or when in range of my wifi home SSID) to Silent mode, so I come home and the phone switches to silent mode.
What happens if, because I'm waiting for a phone call, I manually exit silent mode?
Does Situations sees that phone is at home and non-silent and force again to silent mode? Or after a condition has triggered once it won't re-trigger the action again until it detects a change of conditions (i.e. until I leave home and return back, in my example) ?


All times are GMT. The time now is 11:58.

vBulletin® Version 3.8.8