On Sat, Jun 23, 2012 at 4:39 PM, Anant Kamath <[email protected]> wrote: > Hi, > > For which properties does the SmartUpdate() method (in the > org.freedesktop.UDisks2.Drive.Ata interface) need to be called ? > Are properties like temperature, SmartFailing updated automatically?
The D-Bus properties are updated every time SMART data is collected. This happens at udisksd startup (e.g. at boot-up) and then every ten minutes (unless the drive is asleep) or when the SmartUpdate() method is invoked. Applications should only call SmartUpdate() in response to a user action (never periodically as it may wake up a disk that is asleep), e.g. for a "Refresh" button or similar in a SMART dialog. This is what GNOME Disks is doing, see http://people.freedesktop.org/~david/disks-slightly-better-smart-dialog.png Hope this helps. David _______________________________________________ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel
