Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bangle.js options for when screen turns on #1738

Closed
gfwilliams opened this issue Jan 7, 2020 · 2 comments
Closed

Bangle.js options for when screen turns on #1738

gfwilliams opened this issue Jan 7, 2020 · 2 comments

Comments

@gfwilliams
Copy link
Member

@gfwilliams gfwilliams commented Jan 7, 2020

Bangle.setOptions should have options for:

  • Whether accelerometer can turn the LCD on
  • accelermeter values needed to turn the LCD on
  • Whether buttons turn the LCD on

http://forum.espruino.com/conversations/342080/#comment15039100

@fanoush
Copy link
Contributor

@fanoush fanoush commented Jan 29, 2020

Related idea - some watches have quiet/night mode - time interval when it doesn't turn screen on by movement (and vibrate on messages). Or there could be functionality like switch to quite mode now until next alarm clock rings - when setting alarm in some clock app before going to sleep. The point is - if possible do not hardcode everything in C code to allow flexibility like this.

Hopefully with settings already mentioned in previous post this can be done just by some setTimeout scheduled for specific times and changing those values.

@gfwilliams
Copy link
Member Author

@gfwilliams gfwilliams commented Feb 6, 2020

Just added the setOptions - and yes, I reckon that should be pretty easy to handle a night mode - maybe a widget that changed the settings (beep/buzz/wake on face up/etc) at the correct times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants