<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks for tips! I guess I will add statefs as dependencies when needed.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rinigus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 9:37 AM Pekka Vuorela <<a href="mailto:pekka.vuorela@jolla.com">pekka.vuorela@jolla.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2020-05-13 at 20:41 +0300, rinigus wrote:<br>
> Hi Pekka,<br>
> <br>
> with the respect of statefs plans, I would like to ask if it is<br>
> planned to phase out /run/state/namespaces/ API in future. I am using<br>
> it in collectd to log battery, bluetooth, cellular, and internet data<br>
> in the corresponding plugins. <br>
<br>
That depends on the statefs packages being installed. Since we're not<br>
talking about Harbour software, you can still explicitly pull them in.<br>
They might go away some day, but there's no immediate need for doing<br>
that.<br>
<br>
Alternative is to switch to other methods, e.g. dbus-send or more<br>
specific command line tools. Mcetool for example can tell the battery<br>
state among other things.<br>
<br>
For reference couple migrations on sailfish side:<br>
<a href="https://github.com/mer-tools/sp-endurance/pull/23/files" rel="noreferrer" target="_blank">https://github.com/mer-tools/sp-endurance/pull/23/files</a><br>
<a href="https://github.com/mer-tools/sp-rich-core/pull/85/files" rel="noreferrer" target="_blank">https://github.com/mer-tools/sp-rich-core/pull/85/files</a><br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>