<div dir="auto">My take on the technical side of this is (and IIRC I posted a bug tracker issue to remember the idea at some point), that NUT data state entries each have a timestamp. We could publish them as such, maybe with a separate option for the client and/or protocol (like we do "aux" data etc.) or common namespace following the NUT tree and data point naming convention - e.g. `timestamp.battery.charge`. We might offer a special name for the newest timestamp (last successful data collection) especially relevant for drivers that juggle full and quick/partial data walks.<div dir="auto"><br></div><div dir="auto">Jim</div><div dir="auto"><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Nov 14, 2026, 14:49 Greg Troxel via Nut-upsdev <<a href="mailto:nut-upsdev@alioth-lists.debian.net">nut-upsdev@alioth-lists.debian.net</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">  Disclosure: I prepared the analysis and the code with the help of an AI<br>
  coding assistant (Claude Code, model Claude Opus 5.5). I reviewed the<br>
  changes and take responsibility for them.<br>
<br>
Please put this up front, not at the end, in the future.<br>
<br>
I'm not going to read this (because I think it's not ok to ask humans to<br>
read LLM output), but one concern about semantics.  Happy to discuss<br>
that with people -- please ensure all LLM text in email is labelled as<br>
such.<br>
<br>
The proposal is for an age variable.  Broadly that makes sense.<br>
However, it presumes there is a single age, and therefore that data is<br>
read all at once.  That might be true for many drivers, but other<br>
drivers might fetch some data more often.<br>
<br>
I suspect blurring this doesn't really matter, but we should have clean<br>
semantics.  Perhaps<br>
<br>
  when there is a failure to read, a timestamp (of the start of the<br>
  failed read) is stored, and age reflects time since that timestamp<br>
<br>
  age is 0 when data is being read on the intended schedule, and the<br>
  most recent read cycle did not fail<br>
<br>
Thus a reader doesn't know exactly when a data point was taken, and we<br>
can avoid per-item timestamps, but there is still "how stale is the<br>
data", with anything non-zero reflecting "problem reading data, began x<br>
seconds ago", and zero reflecting "data is not stale".<br>
<br>
<br>
_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsdev@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev</a><br>
</blockquote></div>