We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-02-22 01:04:44 +0200

Yo gravatar image

Questions and ideas for a "bike mode"

Hi there!

Today the weather was fine so I thought I'd take my bicycle for a ride. I happen to have a USB charging port powered by a hub dynamo and of course a handlebar mount. I wanted to be able to regularly glance at the map but there were two problems:

  • Every time the dynamos power was sufficient to charge Jollas battery the phone switched on it's display thus consuming more power. The dynamo was not able to generate the additional power so the Jolla stopped charging immediately.
  • When I wanted to look at the map I always had to unlock the phone and then select <my favourite="" map="" viewer="">.

I learned that the second problem can be avoided by exploiting a bug.

Another thing that I thought was that it would be nice to have fast access to screen brightness and that I would like that the screen only blanks out when I push the power button.

That brought an idea to my mind:

What if my Jolla had a bike mode, that does all this?

Is it even possible to create a program that does this? Keeping display on, changing brightness with volume keys, set the current running app as lock screen? Ideas and hints are welcome!

BTW: If anyone has an idea for my first problem, possibly with some funky mcetools setting, please do tell me!

Questions and ideas for a "bike mode"

Hi there!

Today the weather was fine so I thought I'd take my bicycle for a ride. I happen to have a USB charging port powered by a hub dynamo and of course a handlebar mount. I wanted to be able to regularly glance at the map but there were two problems:

  • Every time the dynamos power was sufficient to charge Jollas battery the phone switched on it's display thus consuming more power. The dynamo was not able to generate the additional power so the Jolla stopped charging immediately.
  • When I wanted to look at the map I always had to unlock the phone and then select <my favourite="" map="" viewer="">.my favourite map viewer.

I learned that the second problem can be avoided by exploiting a bug.

Another thing that I thought was that it would be nice to have fast access to screen brightness and that I would like that the screen only blanks out when I push the power button.

That brought an idea to my mind:

What if my Jolla had a bike mode, that does all this?

Is it even possible to create a program that does this? Keeping display on, changing brightness with volume keys, set the current running app as lock screen? Ideas and hints are welcome!

BTW: If anyone has an idea for my first problem, possibly with some funky mcetools setting, please do tell me!

Questions and ideas for a "bike mode"

Hi there!

Today the weather was fine so I thought I'd take my bicycle for a ride. I happen to have a USB charging port powered by a hub dynamo and of course a handlebar mount. I wanted to be able to regularly glance at the map but there were two problems:

  • Every time the dynamos power was sufficient to charge Jollas battery the phone switched on it's display thus consuming more power. The dynamo was not able to generate the additional power so the Jolla stopped charging immediately.immediately.
    Via this post it seems possible to avoid waking the phone, but I don't know if there are consequences in shutting down powerd. Also you can read there that Jollas kernel wakes the phone when a charger is connected. This also has to be sorted out.
  • When I wanted to look at the map I always had to unlock the phone and then select my favourite map viewer.

I learned that the second problem
This
can be avoided by exploiting a bug.

Another thing that I thought was that it would be nice to have fast access to screen brightness and that I would like that the screen only blanks out when I push the power button.

That brought an idea to my mind:

What if my Jolla had a bike mode, that does all this?

Is it even possible to create a program that does this? Keeping display on, changing brightness with volume keys, set the current running app as lock screen? Ideas and hints are welcome!

BTW: If anyone has an idea for my first problem, possibly with some funky mcetools setting, please do tell me!