You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

Request for help: Android app to shut down a smartphone late at night

2 The_Jaded_One 02 April 2015 11:38AM

I have been playing around with life hacking ideas inspired by hyperbolic discounting.

One idea that seems to have worked reasonably well is was the idea that I could get to bed on time better if my computer simply switched itself off at a certain time, with absolutely no way (that I am capable of executing!) to make it work until the morning. I found and paid for a piece of software that does this - isurveillance shutdown timer. Unfortnately, this seems to have just shifted my late night computer use to my android mobile device, though gaming sessions that last till 5am are a thing of the past. 

So, I'd like an android app that shuts down your (rooted) android phone if it is ever detected on within a prespecified time window on a particular day - e.g. between 11pm and 6am, with no way for the user to circumvent the shutdown. If the user restarts the phone, it should shut down again immediately when it finds out that the time is not within the specified window. 

I have looked for something like this on Google Play, however most offerings will shut down the phone *once*, but it will stay on if you switch it on again. 

LW being a community of tech-savvy people, I was wondering whether anyone was interested in building such an app? It probably isn't hard to do if you are already an android developer, and I think it would really improve my life, and possibly the lives of other people. You could even make it a paid app - I'd pay. In fact I will commit to paying $50 for the app if someone develops this app and it works as described. If the community finds it useful, I'd expect there'd be some karma in it too. Alternatively if anyone can *find* such an app, I'd be extremely grateful. 

A more advanced version of this would be to lock the phone into "emergency calls only" mode within a specific time window. I don't know how hard that would be to pull off. 

This idea might even be good enough to turn into a business - millions of people around the world have the same problem. The requirement to root the device obviously puts something of a dampener on the viability of a business, there may be legal issues with rooting devices as part of a business. 

A hypothesis concerning discounting.

2 abramdemski 12 November 2012 09:51PM

Humans have a value function which is inconsistent over time, discounting roughly with proportion to distance in the future, so that we discount more steeply as an event approaches. This is why we stay up late, ignore the alarm, put off work until close to a deadline, et cetera et cetera.

Yet hyperbolic discounting appears to go away as we mature. I believe this is a result of cognitive mechanisms for maintaining consistency. Cognitive dissonance is painful for us. The consistency mechanism seems to explain some of our irrational behaviour, such as the sunk cost fallacy. It provides a way for us to stick with plans which we previously made, avoiding preference changes due to hyperbolic discounting.

If a hyperbolically discounting agent could perfectly self-modify, it would fix its hyperbola to a specific point in time, resulting in an agent whose discounting would flatten out over the remainder of its life. Perhaps our consistency mechanism approximates this result; but far from perfectly. We can also resolve the inconsistency in a different way, by accepting a specific discount rate. Rather than forcing our future selves to conform to our present preferences, resulting in a gradually flattening function, our present selves may instead accept our future preferences in order to resolve the inconsistency.

Given the difficulty of forcing our future selves to accept a flat distribution, we accept that we will steeply discount in the future as we do in the present. This resolution is popular in some circles; we are often told to "live in the present" or "seize the day". In the extreme case, there is the belief (often associated with mystics) that the present moment is infinitely more important than anything else; the discount factor has collapsed to 0. While this view is intellectually coherent, it seems to be biologically impossible; we will keep taking actions based on future consequences even if we think we are only doing what we desire in the moment. Nonetheless, I suppose we can approach very high discount factors.

Based on this model, my suspicion is that we can approach any discount factor as a self-consistent equilibrium-- it is possible that we learn to make and keep very long-term plans, approximating a very low discount, but it is also possible that we learn to live in the present, or learn anything between these two. The consistency mechanism will want to find a fixed point, but which fixed-point we reach will depend on factors outside these mechanisms.