Project

General

Profile

Actions

Bug #175

closed

balance should consider days within range with no logged sleep periods

Added by Tony Ciavarella over 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
12/09/2011
Due date:
% Done:

100%

Estimated time:

Description

The balance calculation should consider days without any logged sleep periods that are within range and not beyond the oldest record.

This will make balance correctly show a large negative balance for days when a person doesn't sleep.

On Fri, Dec 9, 2011 at 12:01 PM, Tyler D. <...> wrote:

Thanks for writing an awesome app!

I think I may have found a bug (or "feature"...not sure which) and I wanted to let you know.

Statistics doesn't properly calculate Sleep Balance (and maybe other things?) if there's no sleep period recorded because one didn't sleep. I was up all night studying for a final the other night and Sleepmeter showed my last 3 days balance was only slightly negative, where I'd expect it to be over 8 hrs "in the red."

The workaround seems to be simple -- record a zero-duration sleep period and Sleepmeter calculates things properly. (I guess it might be a "feature" if you don't record sleep with Sleepmeter consistently...)

Anyway, thanks again for such an awesome app!
--Tyler

Actions #1

Updated by Tony Ciavarella over 12 years ago

  • Description updated (diff)
Actions #2

Updated by Tony Ciavarella almost 12 years ago

  • Target version changed from 2.1.0 to 2.2.0
Actions #3

Updated by Tony Ciavarella almost 12 years ago

  • Target version changed from 2.2.0 to 2.3.0
Actions #4

Updated by Tony Ciavarella about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF