[PS-71] Have night mode become time sensitive Created: 12/Mar/13  Updated: 21/Mar/13

Status: Open
Project: PocketSword
Component/s: None
Affects Version/s: 1.4.3
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Marco Moreno Assignee: Nic Carter
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

iOS 6.1.2 on iPhone 4S. (Using 1.4.3, but will only allow me to select as high as 1.4.2)



 Description   

Night mode is excellent for reading in bed when my wife is asleep! It would be nice if it could be set to become time sensitive (e.g. between 10pm-6am).



 Comments   
Comment by Nic Carter [ 17/Mar/13 ]

Ahh, interesting suggestion!
It would be trivial for me to hard-code this so that you could switch on "auto night mode" & then it would be in night mode from, say, 8pm until 6:30am? But ideally you'd want this to be connected with another setting so each person could set their own times...

Let me think more about this
Thanks!

Comment by Marco Moreno [ 19/Mar/13 ]

Sometimes I have bible studies till 9 or 10pm but sometimes in bed by then so I don't know. It just occurred to me that there is an ambient light sensor - perhaps that could be an option along with a time selection option. And/or perhaps a simple sun/moon toggling icon as a manual override.

Comment by Martin Denham [ 21/Mar/13 ]

I implemented an auto-night-mode feature in And Bible using the light sensor. If it is dark And Bible switches to Night mode automatically, if user has selected Settings/Auto night mode. Experiment to see what light sensor values you get in different environments and then pick a value, below which you switch to night mode.

I like this because sometimes I wake up at night and want to read the bible in bed but am almost blinded by the normal black-on-white screen (try it). This feature saved my eyes.

Generated at Sun Nov 23 20:05:43 MST 2014 using JIRA 6.2#6252-sha1:aa343257d4ce030d9cb8c531be520be9fac1c996.