Hi! > Because library does not use floating point. So I thought that it is a > good idea to not use it neither for printing power limit. > > I can change it, just I wanted to hear project / library preference. Floating point in lspci is perfectly fine and it's the preferred solution. I would hesitate for a moment before using it in the library, but lspci is definitely OK. Martin