[Sugar-devel] Time spent on activity (was Best time, format for logging?)
Tony Anderson
tony_anderson at usa.net
Fri Mar 28 08:38:41 EDT 2014
It is easier for users to understand shutting down the laptop by
pressing the power button twice than to use the shutdown in the XO menu.
However,
this shutdown does not properly close open activities.
When the power light goes red, I would assume it would be possible to
perform an orderly shutdown.
The record is of an activity session so maintaining a list of session
information seems logical.
One option is to record the launch time in the stop time at launch so
that the metadata shows that a an activity session was started but not
properly closed.
Tony
On 03/27/2014 09:45 PM, sugar-devel-request at lists.sugarlabs.org wrote:
> I was in doubt for two reasons: 1. because unlike launch_time, this
> spent-times metadata will not be saved if the activity does not end
> properly: could be a crash, a programming error, end of battery, etc.
> So the item N of spent-times will not necessarily correspont to item N
> of launch-times.
More information about the Sugar-devel
mailing list