Skip to content

Commit

Permalink
reduce battery history size
Browse files Browse the repository at this point in the history
  • Loading branch information
DevL0rd committed Dec 4, 2024
1 parent e426967 commit 0e7180c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batmon/batmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ void saveFakeAxpResult(int current_percentage)
}
}

#define HISTORY_SIZE 10 // Number of values to keep in the history
#define HISTORY_SIZE 5 // Number of values to smooth battery percentage

int updateADCValue(int value)
{
Expand Down

0 comments on commit 0e7180c

Please sign in to comment.