Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Body fat is not recalculated when reassigning a measurement to another user #1100

Open
kuba-orlik opened this issue Jan 4, 2025 · 0 comments

Comments

@kuba-orlik
Copy link

Describe the bug

Sometimes the scale assigns the measurement to an invalid user. There's an option to edit the user assigned to a given measurement. The body fat calculation depends on user attributes such as height. However, after assigning a measurement to a different user, the body fat estimation is not recalculated, so it becomes invalid

To Reproduce
Steps to reproduce the behavior:

  1. Enable "User" in measurement settings
  2. Create two users with drastically different height
  3. Perform a measurement
  4. Click on the pen icon to edit it
  5. Scroll down to "Name"
  6. Change it to a different user
  7. See the body fat percentage estimate not changing

Reproduced with latest dev version: No. I used v2.5.3 from FDroid

Expected behavior

The body fat estimation is recalculated for that measurement based on the other user's height/age and other parameters

Additional context
Using Mi Body Composition Scale 2

Debug log

2025-01-04 12:43:51.553 Debug [2] AboutPreferences: Debug log enabled, openScale v2.5.3 (65), SDK 34, Google Pixel 7a
2025-01-04 12:43:51.555 Debug [2] AboutPreferences: Selected user id(1) name(name) birthday(<birthday redacted) age(31) body height(186.00) scale unit(kg) gender(male) initial weight(71.00) goal enabled(false) goal weight(-1.00) goal date(Sat Jan 04 12:36:26 GMT+01:00 2025) measure unt(cm) activity level(1) assisted weighing(false)
2025-01-04 12:44:17.617 Debug [2] AboutPreferences: Debug log disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant