public void stopped(long startOfRestMs){
  this.startOfRestMs=startOfRestMs;
}

public void stopped ( long startOfRestMs ) { this . startOfRestMs = startOfRestMs ; }
if we just stopped . should not be called when system starts , only when actually stopped .
