dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #03605
[Bug 1238043] Re: indicator-datetime-service is opening /etc/localtime every 5 seconds even on a totally "idle" system
** Description changed:
In an attempt to reduce unnecessary frequent periodic file access to
save power, I noticed that indicator-datetime-service is opening and
closing /etc/localtime every 5 seconds on my desktop and not apparently
reading this file. On the ubuntu phone it is doing the same thing with
/etc/writable/localtime.
This seems a little excessive, especially because the TZ data doesn't
change quite that frequently. It would be useful if this excessive
polling on the file could be reduced if possible.
+
+ [Impact]
+ * Battery drain, wasting energy by a lot of unnecessary polling
+
+ [Test Case]
+ * Observe how often /etc/localtime or /etc/writable/localtime gets opened for reading
+
+ [Regression Potential]
+ * Possibility to not get the local time reliably
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1238043
Title:
indicator-datetime-service is opening /etc/localtime every 5 seconds
even on a totally "idle" system
Status in “indicator-datetime” package in Ubuntu:
In Progress
Bug description:
In an attempt to reduce unnecessary frequent periodic file access to
save power, I noticed that indicator-datetime-service is opening and
closing /etc/localtime every 5 seconds on my desktop and not
apparently reading this file. On the ubuntu phone it is doing the
same thing with /etc/writable/localtime.
This seems a little excessive, especially because the TZ data doesn't
change quite that frequently. It would be useful if this excessive
polling on the file could be reduced if possible.
[Impact]
* Battery drain, wasting energy by a lot of unnecessary polling
[Test Case]
* Observe how often /etc/localtime or /etc/writable/localtime gets opened for reading
[Regression Potential]
* Possibility to not get the local time reliably
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1238043/+subscriptions
References