percentage_delta_notify


Description:


[ Version ( since = "2.1.3" ) ]
public bool percentage_delta_notify (double value_old, double value_new)

Calculates if a percentage change is significant, and worth notifying the client about.

Parameters:

value_old

a percentage value

value_new

another percentage value

Returns:

true for success


Namespace: Fwupd
Package: fwupd